Wireshark-dev: [Wireshark-dev] compile warning/error on current svn (make_menu_actions)
From: Martin Kaiser <lists@xxxxxxxxx>
Date: Fri, 14 Oct 2011 10:46:06 +0200
Dear all,

compiling r39420 fails for me on redhat fc 15.

main_menubar.c:3698:1: error: 'make_menu_actions' defined but not used
[-Werror=unused-function]

In main_menubar.c, the only place where make_menu_actions() is called
is inside an #ifdef HAVE_LUA_5_1.

Should we have #ifdef HAVE_LUA_5_1 around the function definition as
well?

Best regards,

   Martin