Commit 4ab49c0a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix stylistic Flexelint unhappiness with the compiled C source.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1310 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent e6abab1e
...@@ -302,7 +302,6 @@ LocTable(const struct tokenlist *tl) ...@@ -302,7 +302,6 @@ LocTable(const struct tokenlist *tl)
const char *p; const char *p;
Fh(tl, 0, "#define VGC_NREFS %u\n", tl->cnt + 1); Fh(tl, 0, "#define VGC_NREFS %u\n", tl->cnt + 1);
Fh(tl, 0, "static struct vrt_ref VGC_ref[VGC_NREFS];\n");
Fc(tl, 0, "static struct vrt_ref VGC_ref[VGC_NREFS] = {\n"); Fc(tl, 0, "static struct vrt_ref VGC_ref[VGC_NREFS] = {\n");
lin = 1; lin = 1;
pos = 0; pos = 0;
...@@ -334,6 +333,7 @@ LocTable(const struct tokenlist *tl) ...@@ -334,6 +333,7 @@ LocTable(const struct tokenlist *tl)
Fc(tl, 0, " [%3u] = { %d, %8u, %4u, %3u, 0, \"%.*s\" },\n", Fc(tl, 0, " [%3u] = { %d, %8u, %4u, %3u, 0, \"%.*s\" },\n",
t->cnt, sp->idx, t->b - sp->b, lin, pos + 1, PF(t)); t->cnt, sp->idx, t->b - sp->b, lin, pos + 1, PF(t));
} }
Fc(tl, 0, " { 0, 0, 0, 0, 0, 0 }\n");
Fc(tl, 0, "};\n"); Fc(tl, 0, "};\n");
} }
......
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