summaryrefslogtreecommitdiff
path: root/epan/wslua/wslua_tvb.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_tvb.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_tvb.c')
-rw-r--r--epan/wslua/wslua_tvb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wslua/wslua_tvb.c b/epan/wslua/wslua_tvb.c
index 21dd6a8b76..1f06dd1160 100644
--- a/epan/wslua/wslua_tvb.c
+++ b/epan/wslua/wslua_tvb.c
@@ -59,7 +59,7 @@
*
*/
-WSLUA_CLASS_DEFINE(Tvb,FAIL_ON_NULL_OR_EXPIRED("Tvb"),NOP);
+WSLUA_CLASS_DEFINE(Tvb,FAIL_ON_NULL_OR_EXPIRED("Tvb"));
/* A `Tvb` represents the packet's buffer. It is passed as an argument to listeners and dissectors,
and can be used to extract information (via `TvbRange`) from the packet's data.
@@ -330,7 +330,7 @@ int Tvb_register(lua_State* L) {
-WSLUA_CLASS_DEFINE(TvbRange,FAIL_ON_NULL("TvbRange"),NOP);
+WSLUA_CLASS_DEFINE(TvbRange,FAIL_ON_NULL("TvbRange"));
/*
A `TvbRange` represents a usable range of a `Tvb` and is used to extract data from the `Tvb` that generated it.