Browse Source

mqtt: remove dead store

Nathaniel Wesley Filardo 4 years ago
parent
commit
9f8c2aea6f
1 changed files with 0 additions and 1 deletions
  1. 0 1
      app/modules/mqtt.c

+ 0 - 1
app/modules/mqtt.c

@@ -1208,7 +1208,6 @@ static int mqtt_socket_connect( lua_State* L )
     lua_pushvalue(L, stack);  // copy argument (func) to the top of stack
     luaL_unref(L, LUA_REGISTRYINDEX, mud->cb_connect_fail_ref);
     mud->cb_connect_fail_ref = luaL_ref(L, LUA_REGISTRYINDEX);
-    stack++;
   }
 
   lua_pushvalue(L, 1);  // copy userdata to the top of stack