From 650048fb8cc0112bb3e234b3fc0a526015cd31aa Mon Sep 17 00:00:00 2001 From: morriss Date: Fri, 13 May 2011 00:34:31 +0000 Subject: [PATCH] Allocate wslua_plugin_list even if we do not HAVE_PLUGINS git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37109 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/plugins.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/epan/plugins.c b/epan/plugins.c index 340c4a53df..a511da44f6 100644 --- a/epan/plugins.c +++ b/epan/plugins.c @@ -28,6 +28,9 @@ #include "plugins.h" +/* linked list of Lua plugins */ +wslua_plugin *wslua_plugin_list = NULL; + #ifdef HAVE_PLUGINS #include @@ -57,9 +60,6 @@ /* linked list of all plugins */ plugin *plugin_list = NULL; -/* linked list of Lua plugins */ -wslua_plugin *wslua_plugin_list = NULL; - /* * add a new plugin to the list * returns : -- 2.34.1