[MPlayer-cvslog] r33911 - trunk/stream/cache2.c
diego
subversion at mplayerhq.hu
Mon Jul 25 01:51:51 CEST 2011
Author: diego
Date: Mon Jul 25 01:51:51 2011
New Revision: 33911
Log:
cache2: add missing braces to silence compiler warning
stream/cache2.c:387: warning: missing braces around initializer
Modified:
trunk/stream/cache2.c
Modified: trunk/stream/cache2.c
==============================================================================
--- trunk/stream/cache2.c Sun Jul 24 23:45:19 2011 (r33910)
+++ trunk/stream/cache2.c Mon Jul 25 01:51:51 2011 (r33911)
@@ -384,7 +384,7 @@ static void dummy_sighandler(int x) {
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
More information about the MPlayer-cvslog
mailing list