Commit 0bda0cb3 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Minor flexelint'ing

parent 083d19a6
...@@ -22,3 +22,4 @@ ...@@ -22,3 +22,4 @@
-e737 // [45] Loss of sign in promotion from int to unsigned -e737 // [45] Loss of sign in promotion from int to unsigned
-e713 // Loss of precision (assignment) (unsigned long long to long long) -e713 // Loss of precision (assignment) (unsigned long long to long long)
-e574 // Signed-unsigned mix with relational -e574 // Signed-unsigned mix with relational
-e835 // A zero has been given as ___ argument to operator '___' (<<)
...@@ -60,7 +60,6 @@ volatile sig_atomic_t vtc_error; /* Error encountered */ ...@@ -60,7 +60,6 @@ volatile sig_atomic_t vtc_error; /* Error encountered */
int vtc_stop; /* Stops current test without error */ int vtc_stop; /* Stops current test without error */
pthread_t vtc_thread; pthread_t vtc_thread;
static struct vtclog *vltop; static struct vtclog *vltop;
int in_tree = 0; /* Are we running in-tree */
/********************************************************************** /**********************************************************************
* Macro facility * Macro facility
...@@ -238,18 +237,6 @@ extmacro_def(const char *name, const char *fmt, ...) ...@@ -238,18 +237,6 @@ extmacro_def(const char *name, const char *fmt, ...)
} }
} }
const char *
extmacro_get(const char *name)
{
struct extmacro *m;
VTAILQ_FOREACH(m, &extmacro_list, list)
if (!strcmp(name, m->name))
return (m->val);
return (NULL);
}
/********************************************************************** /**********************************************************************
* Execute a file * Execute a file
*/ */
......
...@@ -85,4 +85,3 @@ void macro_def(struct vtclog *vl, const char *instance, const char *name, ...@@ -85,4 +85,3 @@ void macro_def(struct vtclog *vl, const char *instance, const char *name,
struct vsb *macro_expand(struct vtclog *vl, const char *text); struct vsb *macro_expand(struct vtclog *vl, const char *text);
void extmacro_def(const char *name, const char *fmt, ...); void extmacro_def(const char *name, const char *fmt, ...);
const char *extmacro_get(const char *name);
...@@ -586,7 +586,7 @@ cmd_http_gunzip_body(CMD_ARGS) ...@@ -586,7 +586,7 @@ cmd_http_gunzip_body(CMD_ARGS)
*/ */
static void static void
gzip_body(struct http *hp, const char *txt, char **body, int *bodylen) gzip_body(const struct http *hp, const char *txt, char **body, int *bodylen)
{ {
int l, i; int l, i;
z_stream vz; z_stream vz;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment