diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2013-11-18 10:45:14 +0100 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2013-11-18 10:45:14 +0100 |
commit | 24ecb9b1f11a8a73b0d0da1e5871afa98384c648 (patch) | |
tree | d7fc8a0669c8bdb6eac6b0011409d56b017be398 /src | |
parent | 6c7445ff5310993e00d6d3f226836a60378465fd (diff) | |
download | lanes-24ecb9b1f11a8a73b0d0da1e5871afa98384c648.tar.gz lanes-24ecb9b1f11a8a73b0d0da1e5871afa98384c648.tar.bz2 lanes-24ecb9b1f11a8a73b0d0da1e5871afa98384c648.zip |
Fix a compilation warning about an unused variable
Fix issue #74.
Diffstat (limited to 'src')
-rw-r--r-- | src/lanes.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
1130 | ASSERT_L( lua_isfunction( L, -1)); | 1130 | ASSERT_L( lua_isfunction( L, -1)); |
1131 | if( error_index) | 1131 | if( error_index) |
1132 | { | 1132 | { |
1133 | char const* err_msg = lua_tostring( L, error_index); | 1133 | //char const* err_msg = lua_tostring( L, error_index); |
1134 | lua_pushvalue( L, error_index); // [err_msg {stack_trace}]? {func [, ...]}? lane_error finalizer err_msg | 1134 | lua_pushvalue( L, error_index); // [err_msg {stack_trace}]? {func [, ...]}? lane_error finalizer err_msg |
1135 | #if ERROR_FULL_STACK | 1135 | #if ERROR_FULL_STACK |
1136 | lua_pushvalue( L, error_index + 1); // [err_msg {stack_trace}]? {func [, ...]}? lane_error finalizer err_msg {stack_trace} | 1136 | lua_pushvalue( L, error_index + 1); // [err_msg {stack_trace}]? {func [, ...]}? lane_error finalizer err_msg {stack_trace} |