]> granicus.if.org Git - apache/commitdiff
remove redundant code
authorDaniel Gruno <humbedooh@apache.org>
Fri, 19 Apr 2013 09:04:52 +0000 (09:04 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Fri, 19 Apr 2013 09:04:52 +0000 (09:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1469751 13f79535-47bb-0310-9956-ffa450edef68

modules/lua/lua_request.c

index 34940ceeb5dae8944a54a355d3a50d91e1d3380e..f889c5e591a001540448654174b9303ab490dac0 100644 (file)
@@ -1670,7 +1670,6 @@ static int lua_ivm_get(lua_State *L) {
     apr_pool_userdata_get((void **)&object, raw_key, r->server->process->pool);
     if (object) {
         if (object->type == LUA_TBOOLEAN) lua_pushboolean(L, object->number);
-        else if (object->type == LUA_TBOOLEAN) lua_pushboolean(L, object->number);
         else if (object->type == LUA_TNUMBER) lua_pushnumber(L, object->number);
         else if (object->type == LUA_TSTRING) lua_pushlstring(L, object->string, object->size);
         return 1;