ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Extraneous trailing comma in enum definition

Date: Sun, 5 Nov 2006 14:07:33 -0600
The IBM C compiler on AIX 4.3.3 doesn't accept a trailing comma after
the last enum definition. Patch attached for stat_menu.h

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)
Index: stat_menu.h
===================================================================
--- stat_menu.h	(revision 19811)
+++ stat_menu.h	(working copy)
@@ -50,9 +50,9 @@
     REGISTER_STAT_GROUP_RESPONSE_TIME,
     REGISTER_STAT_GROUP_TELEPHONY,
     /* XXX - split into telephony and VoIP? */
-	REGISTER_ANALYZE_GROUP_NONE,
+	REGISTER_ANALYZE_GROUP_NONE
 #ifdef HAVE_LUA_5_1
-	REGISTER_TOOLS_GROUP_NONE,
+	,REGISTER_TOOLS_GROUP_NONE
 #endif
 } register_stat_group_t;