Fix potentially uninitialized variables

This commit is contained in:
Pasi Kallinen
2022-03-14 10:06:23 +02:00
parent a61586153f
commit 9dd69f4b88

View File

@@ -548,7 +548,7 @@ l_obj_bury(lua_State *L)
int argc = lua_gettop(L);
boolean dealloced = FALSE;
struct _lua_obj *lo = l_obj_check(L, 1);
xchar x, y;
xchar x = 0, y = 0;
if (argc == 1) {
x = lo->obj->ox;