diff options
author | Joerg Mayer <jmayer@loplof.de> | 2016-03-28 15:25:12 +0200 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2016-03-28 13:27:52 +0000 |
commit | 7e5dae90d65ed062f2d01c63174cc1c94850a19a (patch) | |
tree | 1a0ba5c8421a916ad3a746b20fd1e4b063df89b4 /epan/wslua/wslua_capture_info.c | |
parent | 8f3ad919054003ea96c670ab663268b75aba3755 (diff) | |
download | wireshark-7e5dae90d65ed062f2d01c63174cc1c94850a19a.tar.gz |
Fix warnings/errors of type -Wused-but-marked-unused
Change-Id: I34c2d9953272822da0745d1b24c64d8466e43b37
Reviewed-on: https://code.wireshark.org/review/14668
Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Diffstat (limited to 'epan/wslua/wslua_capture_info.c')
-rw-r--r-- | epan/wslua/wslua_capture_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wslua/wslua_capture_info.c b/epan/wslua/wslua_capture_info.c index ddba06d792..f123747a57 100644 --- a/epan/wslua/wslua_capture_info.c +++ b/epan/wslua/wslua_capture_info.c @@ -81,7 +81,7 @@ WSLUA_METAMETHOD CaptureInfo__tostring(lua_State* L) { } -static int CaptureInfo__gc(lua_State* L _U_) { +static int CaptureInfo__gc(lua_State* L) { CaptureInfo fc = toCaptureInfo(L,1); if (fc) g_free(fc); @@ -468,7 +468,7 @@ static int CaptureInfoConst_set_private_table(lua_State* L) { return set_wdh_priv_table_ref(L, fi->wdh); } -static int CaptureInfoConst__gc(lua_State* L _U_) { +static int CaptureInfoConst__gc(lua_State* L) { CaptureInfoConst fi = toCaptureInfoConst(L,1); if (fi) g_free(fi); |