From 24ecb9b1f11a8a73b0d0da1e5871afa98384c648 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Mon, 18 Nov 2013 10:45:14 +0100 Subject: Fix a compilation warning about an unused variable Fix issue #74. --- src/lanes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lanes.c b/src/lanes.c index ccf50c3..feccb75 100644 --- a/src/lanes.c +++ b/src/lanes.c @@ -1130,7 +1130,7 @@ static int run_finalizers( lua_State* L, int lua_rc) ASSERT_L( lua_isfunction( L, -1)); if( error_index) { - char const* err_msg = lua_tostring( L, error_index); + //char const* err_msg = lua_tostring( L, error_index); lua_pushvalue( L, error_index); // [err_msg {stack_trace}]? {func [, ...]}? lane_error finalizer err_msg #if ERROR_FULL_STACK lua_pushvalue( L, error_index + 1); // [err_msg {stack_trace}]? {func [, ...]}? lane_error finalizer err_msg {stack_trace} -- cgit v1.2.3-55-g6feb