From: nhmall Date: Mon, 1 Feb 2021 18:24:14 +0000 (-0500) Subject: visual studio project update; also recover.c X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=102007d7cf4168e169efdcbf64f12bab9aed5bab;p=nethack visual studio project update; also recover.c --- diff --git a/util/recover.c b/util/recover.c index 1dabf30df..1edc42f2b 100644 --- a/util/recover.c +++ b/util/recover.c @@ -49,6 +49,8 @@ extern unsigned _stklen = STKSIZ; /* SAVESIZE is defined in "fnamesiz.h" */ char savename[SAVESIZE]; /* holds relative path of save file from playground */ +DISABLE_WARNING_UNREACHABLE_CODE + int main(int argc, char *argv[]) { @@ -136,6 +138,8 @@ main(int argc, char *argv[]) return 0; } +RESTORE_WARNINGS + static char lock[256]; void diff --git a/win/win32/vs/uudecode.vcxproj b/win/win32/vs/uudecode.vcxproj index ce602e1f2..e2aa05c7e 100644 --- a/win/win32/vs/uudecode.vcxproj +++ b/win/win32/vs/uudecode.vcxproj @@ -23,6 +23,16 @@ + + + $(IncDir) + + + + + $(IncDir) + +