summaryrefslogtreecommitdiff
path: root/pbx/pbx_lua.c
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2012-03-08 17:02:52 +0000
committerSean Bright <sean@malleable.com>2012-03-08 17:02:52 +0000
commit99bd5b1e2e70160b2d3f6dcbd122b06654c17788 (patch)
treedb17db12c4d7846442c746f0997325801cb96415 /pbx/pbx_lua.c
parenta8116350bc47069650de7d08353d8c1c6d6bfe4b (diff)
Eliminate a bunch of shadow warnings.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@358647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_lua.c')
-rw-r--r--pbx/pbx_lua.c2
1 files changed, 1 insertions, 1 deletions
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;