summaryrefslogtreecommitdiff
path: root/epan/wslua/wslua_capture_info.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_capture_info.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_capture_info.c')
-rw-r--r--epan/wslua/wslua_capture_info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wslua/wslua_capture_info.c b/epan/wslua/wslua_capture_info.c
index c0b295c339..a05d9e44e0 100644
--- a/epan/wslua/wslua_capture_info.c
+++ b/epan/wslua/wslua_capture_info.c
@@ -34,7 +34,7 @@
/* WSLUA_CONTINUE_MODULE File */
-WSLUA_CLASS_DEFINE(CaptureInfo,FAIL_ON_NULL_MEMBER_OR_EXPIRED("CaptureInfo",wth),NOP);
+WSLUA_CLASS_DEFINE(CaptureInfo,FAIL_ON_NULL_MEMBER_OR_EXPIRED("CaptureInfo",wth));
/*
A `CaptureInfo` object, passed into Lua as an argument by `FileHandler` callback
function `read_open()`, `read()`, `seek_read()`, `seq_read_close()`, and `read_close()`.
@@ -300,7 +300,7 @@ int CaptureInfo_register(lua_State* L) {
}
-WSLUA_CLASS_DEFINE(CaptureInfoConst,FAIL_ON_NULL_MEMBER_OR_EXPIRED("CaptureInfoConst",wdh),NOP);
+WSLUA_CLASS_DEFINE(CaptureInfoConst,FAIL_ON_NULL_MEMBER_OR_EXPIRED("CaptureInfoConst",wdh));
/*
A `CaptureInfoConst` object, passed into Lua as an argument to the `FileHandler` callback
function `write_open()`.