[mISDNuser PATCH] Fix compile warning detected by -Werror
Thomas Jarosch <[email protected]>
| Newsgroups | gmane.linux.isdn.i4l.user |
|---|---|
| Message-ID | <1561608.P1RssUctNB@storm> |
text_wireshark.c: In function 'main': text_wireshark.c:181: error: 'infilename' may be used uninitialized in this function text_wireshark.c:182: error: 'outfilename' may be used uninitialized in this function Signed-off-by: Thomas Jarosch <[email protected]> --- tools/text_wireshark.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/text_wireshark.c b/tools/text_wireshark.c index 7902742..4a0772f 100644 --- a/tools/text_wireshark.c +++ b/tools/text_wireshark.c @@ -178,8 +178,8 @@ main(argc, argv) int argc; char *argv[]; { - char *infilename; - char *outfilename; + char *infilename = NULL; + char *outfilename = NULL; char sw; char line[4096]; u_char buffer[512]; -- 1.7.11.2