From: Pasi Kallinen Date: Mon, 14 Mar 2022 08:06:23 +0000 (+0200) Subject: Fix potentially uninitialized variables X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9dd69f4b88c6be846c59068cae5170db416d18d6;p=nethack Fix potentially uninitialized variables --- diff --git a/src/nhlobj.c b/src/nhlobj.c index eed5ffbaa..e0f807e35 100644 --- a/src/nhlobj.c +++ b/src/nhlobj.c @@ -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;