From: nhmall Date: Tue, 3 Mar 2020 23:34:27 +0000 (-0500) Subject: build fix for vs2019 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7902bacf700d3c6a65010911df5b344362a82498;p=nethack build fix for vs2019 src\nhlsel.c(604) : error C4703: potentially uninitialized local pointer variable 'mf' used --- diff --git a/src/nhlsel.c b/src/nhlsel.c index 9a874efb4..15ab6e539 100644 --- a/src/nhlsel.c +++ b/src/nhlsel.c @@ -575,7 +575,7 @@ lua_State *L; { int argc = lua_gettop(L); struct selectionvar *sel = (struct selectionvar *) 0; - struct mapfragment *mf; + struct mapfragment *mf = (struct mapfragment *) 0; int x, y; if (argc == 1) {