Commit d1fc4cdc authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Ignore a couple of return values



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2978 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent cd2020c3
...@@ -231,7 +231,7 @@ pan_ic(const char *func, const char *file, int line, const char *cond, int err, ...@@ -231,7 +231,7 @@ pan_ic(const char *func, const char *file, int line, const char *cond, int err,
l = sizeof(panicstr); l = sizeof(panicstr);
memcpy(p, panicstr, l); memcpy(p, panicstr, l);
if (params->diag_bitmap & 0x4000) if (params->diag_bitmap & 0x4000)
fputs(panicstr, stderr); (void)fputs(panicstr, stderr);
#ifdef HAVE_ABORT2 #ifdef HAVE_ABORT2
if (params->diag_bitmap & 0x8000) { if (params->diag_bitmap & 0x8000) {
...@@ -245,7 +245,7 @@ pan_ic(const char *func, const char *file, int line, const char *cond, int err, ...@@ -245,7 +245,7 @@ pan_ic(const char *func, const char *file, int line, const char *cond, int err,
} }
#endif #endif
if (params->diag_bitmap & 0x1000) if (params->diag_bitmap & 0x1000)
kill(getpid(), SIGUSR1); (void)kill(getpid(), SIGUSR1);
else else
abort(); abort();
} }
......
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