From 99bd5b1e2e70160b2d3f6dcbd122b06654c17788 Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Thu, 8 Mar 2012 17:02:52 +0000 Subject: Eliminate a bunch of shadow warnings. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@358647 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx/pbx_lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pbx/pbx_lua.c') diff --git a/pbx/pbx_lua.c b/pbx/pbx_lua.c index d0e0f984b..928861698 100644 --- a/pbx/pbx_lua.c +++ b/pbx/pbx_lua.c @@ -1257,7 +1257,7 @@ static lua_State *lua_get_state(struct ast_channel *chan) lua_State *L; if (!chan) { - lua_State *L = luaL_newstate(); + L = luaL_newstate(); if (!L) { ast_log(LOG_ERROR, "Error allocating lua_State, no memory\n"); return NULL; -- cgit v1.2.3