mqtt: remove dead store

This commit is contained in:
Nathaniel Wesley Filardo 2020-04-07 17:39:39 +01:00 committed by Marcel Stör
parent 6ac275071b
commit 9f8c2aea6f
1 changed files with 0 additions and 1 deletions

View File

@ -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