diff options
author | phintuka <phintuka> | 2010-05-21 12:53:55 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-05-21 12:53:55 +0000 |
commit | 581a3d41cbfde1873fdf7121c623a0ad2ddf9439 (patch) | |
tree | ec9325f9c271e2f25d4304e2420121530d01178a | |
parent | 203f8dd9b6719bc2b244e3ceaf27bf386446227c (diff) | |
download | xineliboutput-581a3d41cbfde1873fdf7121c623a0ad2ddf9439.tar.gz xineliboutput-581a3d41cbfde1873fdf7121c623a0ad2ddf9439.tar.bz2 |
Fixed warnings:
- missing default cases
- incomplete initialization of long_options
(Thanks to Winfried Koehler)
-rw-r--r-- | xine_frontend_main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xine_frontend_main.c b/xine_frontend_main.c index de497668..dd94493a 100644 --- a/xine_frontend_main.c +++ b/xine_frontend_main.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_frontend_main.c,v 1.85 2010-01-09 23:31:42 phintuka Exp $ + * $Id: xine_frontend_main.c,v 1.86 2010-05-21 12:53:55 phintuka Exp $ * */ @@ -135,9 +135,11 @@ static uint64_t read_key_seq(void) k |= key1 & 0xFF; } while (key1 != 0x7E); break; + default:; } } break; + default:; } } } @@ -461,7 +463,7 @@ static const struct option long_options[] = { { "tcp", no_argument, NULL, 't' }, { "udp", no_argument, NULL, 'u' }, { "rtp", no_argument, NULL, 'r' }, - { NULL } + { NULL, no_argument, NULL, 0 } }; #define PRINTF(x...) do { if(SysLogLevel>1) printf(x); } while(0) |