Skip to content

Commit b0aa813

Browse files
authored
Merge pull request #42 from Jayatubi/master
missing initialization
2 parents 335adc8 + d211d16 commit b0aa813

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

emmy_debugger/src/emmy_debugger.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ bool Debugger::IsMainCoroutine(lua_State* L) const
182182

183183
lua_State* Debugger::queryParentThread(lua_State* L)
184184
{
185-
lua_State* PL;
185+
lua_State* PL = nullptr;
186+
186187
const int t = lua_gettop(L);
187188
lua_getglobal(L, "emmyHelper");
188189
if (lua_istable(L, -1))

0 commit comments

Comments
 (0)