From f7b50ca7544eb3776486375fb15b416a5e88d87b Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 13 Jul 2001 00:55:58 +0000 Subject: From Joerg Mayer: * gcc 3.0 warning fixes: - text2pcap.c: The number of characters to scan should probably not be 0 - wiretap/csids.c: using preincrement on a variable used on both sides of an assignment might be undefined by the C99(?) standard * turn on additional warnings for epan and wiretap too - epan/configure.in - wiretap/configure.in * Fix some warnings (missing includes, signed/unsigned, missing initializers) found by turning on the warnings - all other files :-) svn path=/trunk/; revision=3709 --- epan/ftypes/ftype-none.c | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'epan/ftypes/ftype-none.c') diff --git a/epan/ftypes/ftype-none.c b/epan/ftypes/ftype-none.c index f19b6e2714..09884aeb4a 100644 --- a/epan/ftypes/ftype-none.c +++ b/epan/ftypes/ftype-none.c @@ -1,5 +1,5 @@ /* - * $Id: ftype-none.c,v 1.2 2001/02/01 20:31:21 gram Exp $ + * $Id: ftype-none.c,v 1.3 2001/07/13 00:55:56 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -36,7 +36,27 @@ ftype_register_none(void) "FT_NONE", "label", 0, - }; + NULL, + NULL, + NULL, + + NULL, + NULL, + NULL, + + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + + NULL, + NULL, + }; ftype_register(FT_NONE, &none_type); } -- cgit v1.2.3