Commit 3675130a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Correctly scope a local variable



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4840 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent c3455cdb
......@@ -294,7 +294,6 @@ static void
pan_ic(const char *func, const char *file, int line, const char *cond,
int err, int xxx)
{
char *p;
const char *q;
const struct sess *sp;
......@@ -347,6 +346,7 @@ pan_ic(const char *func, const char *file, int line, const char *cond,
#ifdef HAVE_ABORT2
if (params->diag_bitmap & 0x8000) {
void *arg[1];
char *p;
for (p = loghead->panicstr; *p; p++)
if (*p == '\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