]> err.no Git - varnish/commitdiff
Ignore a couple of return values
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 20 Jul 2008 11:44:29 +0000 (11:44 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 20 Jul 2008 11:44:29 +0000 (11:44 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2978 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_panic.c

index 00cb9078ee302011b823582ccf7dc13b350650d5..6e07ca7b7bb8d29213102eb114b8897ec89ab7f3 100644 (file)
@@ -231,7 +231,7 @@ pan_ic(const char *func, const char *file, int line, const char *cond, int err,
                l = sizeof(panicstr);
        memcpy(p, panicstr, l);
        if (params->diag_bitmap & 0x4000)
-               fputs(panicstr, stderr);
+               (void)fputs(panicstr, stderr);
                
 #ifdef HAVE_ABORT2
        if (params->diag_bitmap & 0x8000) {
@@ -245,7 +245,7 @@ pan_ic(const char *func, const char *file, int line, const char *cond, int err,
        }
 #endif
        if (params->diag_bitmap & 0x1000)
-               kill(getpid(), SIGUSR1);
+               (void)kill(getpid(), SIGUSR1);
        else
                abort();
 }