From 102007d7cf4168e169efdcbf64f12bab9aed5bab Mon Sep 17 00:00:00 2001 From: nhmall Date: Mon, 1 Feb 2021 13:24:14 -0500 Subject: [PATCH] visual studio project update; also recover.c --- util/recover.c | 4 ++++ win/win32/vs/uudecode.vcxproj | 10 ++++++++++ 2 files changed, 14 insertions(+) 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) + +