summaryrefslogtreecommitdiff
path: root/epan/wslua/wslua_dumper.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2016-04-03 10:58:44 +0200
committerAnders Broman <a.broman58@gmail.com>2016-06-14 18:32:51 +0000
commitf6e223c89540c6acc8a89244f050189f88ecfb78 (patch)
treea6059a5891ec31a38d0aff006a9e52a12d3815e5 /epan/wslua/wslua_dumper.c
parentcecb227af5a0ea6eda2f62447a1ece148948912b (diff)
downloadwireshark-f6e223c89540c6acc8a89244f050189f88ecfb78.tar.gz
wslua: Drop unused "push_code" macro parameter
Reduce noise, no caller has used this parameter since its introduction. Msotly automated regex search and replace. Change-Id: I4b1180bfee8544b38d19c9c440ff5b9b0dc080b2 Reviewed-on: https://code.wireshark.org/review/14790 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/wslua/wslua_dumper.c')
-rw-r--r--epan/wslua/wslua_dumper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wslua/wslua_dumper.c b/epan/wslua/wslua_dumper.c
index 8d61a087d9..8c0681f0c0 100644
--- a/epan/wslua/wslua_dumper.c
+++ b/epan/wslua/wslua_dumper.c
@@ -41,7 +41,7 @@
#include "wslua.h"
#include <math.h>
-WSLUA_CLASS_DEFINE(PseudoHeader,NOP,NOP);
+WSLUA_CLASS_DEFINE(PseudoHeader,NOP);
/*
A pseudoheader to be used to save captured frames.
*/
@@ -178,7 +178,7 @@ int PseudoHeader_register(lua_State* L) {
}
-WSLUA_CLASS_DEFINE(Dumper,FAIL_ON_NULL("Dumper already closed"),NOP);
+WSLUA_CLASS_DEFINE(Dumper,FAIL_ON_NULL("Dumper already closed"));
static GHashTable* dumper_encaps = NULL;
#define DUMPER_ENCAP(d) GPOINTER_TO_INT(g_hash_table_lookup(dumper_encaps,d))