aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua/wslua_proto.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2021-06-09 23:49:28 +0100
committerJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2021-06-10 00:51:59 +0100
commit1a702e5430d2a750ed234bc3a7fdc052086f5124 (patch)
tree31c71f663f5ba8bba5a6a193a3b0dd1705bf3b92 /epan/wslua/wslua_proto.c
parente0d420ac4851b4202e1e46fc810659818de5f397 (diff)
Try to avoid -Wunused with vanishing macros
Diffstat (limited to 'epan/wslua/wslua_proto.c')
-rw-r--r--epan/wslua/wslua_proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wslua/wslua_proto.c b/epan/wslua/wslua_proto.c
index 52fc03b6c5..1e9ee99784 100644
--- a/epan/wslua/wslua_proto.c
+++ b/epan/wslua/wslua_proto.c
@@ -233,7 +233,7 @@ WSLUA_METHOD Proto_register_heuristic(lua_State* L) {
Proto proto = checkProto(L,1);
const gchar *listname = luaL_checkstring(L, WSLUA_ARG_Proto_register_heuristic_LISTNAME);
const gchar *proto_name = proto->name;
- const int top _U_ = lua_gettop(L);
+ const int top = lua_gettop(L);
gchar *short_name;
if (!proto_name || proto->hfid == -1) {