mirror of
https://github.com/apache/httpd.git
synced 2025-08-05 16:55:50 +03:00
Attempt to make mod_lua compile under a strict c89 compiler by moving all variable declarations to be before code.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728539 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -34,8 +34,9 @@
|
||||
|
||||
apr_table_t *check_apr_table(lua_State *L, int index)
|
||||
{
|
||||
apr_table_t *t;
|
||||
luaL_checkudata(L, index, "Apr.Table");
|
||||
apr_table_t *t = (apr_table_t *) lua_unboxpointer(L, index);
|
||||
t = (apr_table_t *) lua_unboxpointer(L, index);
|
||||
return t;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user