From 6a6025393f8c0756fb4225e71a2092ea1d51b3d4 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Fri, 9 Mar 2018 23:40:37 -0500 Subject: [PATCH] meow --- examples/custom_global_transparent_argument.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/custom_global_transparent_argument.cpp b/examples/custom_global_transparent_argument.cpp index e1119d61..7e955243 100644 --- a/examples/custom_global_transparent_argument.cpp +++ b/examples/custom_global_transparent_argument.cpp @@ -37,7 +37,6 @@ namespace sol { static GlobalResource* get(lua_State* L, int /*index*/, record& tracking) { // retrieve the (light) userdata for this type tracking.use(0); // not actually pulling anything off the stack - (void)index; // unused stack::get_field(L, script_key); GlobalResource* ls = static_cast(lua_touserdata(L, -1)); lua_pop(L, 1); // clean up stack value returned by `get_field`