diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-10-01 17:25:24 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-10-01 17:25:24 +0000 |
commit | 806df926b7a2932ebbe421f7e288ade0149312b0 (patch) | |
tree | 38e39d9fb5a8df78f3b32cbd0eea5bfd5c728f71 /epan/wslua/wslua_proto.c | |
parent | 9fd1f3d487c4b2a46b7d1caa0961fc6a1fb7bd49 (diff) |
Removed fetching an unused variable. Leaving as a comment
for documentation purpose.
svn path=/trunk/; revision=30240
Diffstat (limited to 'epan/wslua/wslua_proto.c')
-rw-r--r-- | epan/wslua/wslua_proto.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/wslua/wslua_proto.c b/epan/wslua/wslua_proto.c index 2fb885bcef..ce54590e00 100644 --- a/epan/wslua/wslua_proto.c +++ b/epan/wslua/wslua_proto.c @@ -1238,8 +1238,7 @@ int Proto_commit(lua_State* L) { GArray* hfa = g_array_new(TRUE,TRUE,sizeof(hf_register_info)); GArray* etta = g_array_new(TRUE,TRUE,sizeof(gint*)); Proto proto; - const gchar* proto_name; - proto_name = lua_tostring(L,2); + /* const gchar* proto_name = lua_tostring(L,2); */ proto = checkProto(L,3); lua_rawgeti(L, LUA_REGISTRYINDEX, proto->fields); |