changeset 33823:d2e8127c5ba3

cache2: add missing braces to silence compiler warning stream/cache2.c:387: warning: missing braces around initializer
author diego
date Sun, 24 Jul 2011 23:51:51 +0000
parents ac4ba12c8561
children bc567921d5ff
files stream/cache2.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/cache2.c	Sun Jul 24 21:45:19 2011 +0000
+++ b/stream/cache2.c	Sun Jul 24 23:51:51 2011 +0000
@@ -384,7 +384,7 @@
 static void cache_mainloop(cache_vars_t *s) {
     int sleep_count = 0;
 #if FORKED_CACHE
-    struct sigaction sa = { 0 };
+    struct sigaction sa = { { 0 } };
     sa.sa_handler = SIG_IGN;
     sigaction(SIGUSR1, &sa, NULL);
 #endif