From 0aaae5d765d45d4270d18951a14574225c89827c Mon Sep 17 00:00:00 2001 From: davidpanderson Date: Tue, 11 Aug 2020 13:36:02 -0700 Subject: [PATCH] Fix VS2019 error about redefine of snprintf. Stuff like this should be done in windows.h, not in .cpp files --- lib/gui_rpc_client_ops.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/gui_rpc_client_ops.cpp b/lib/gui_rpc_client_ops.cpp index 6b98996e2f..fdd48c8e81 100644 --- a/lib/gui_rpc_client_ops.cpp +++ b/lib/gui_rpc_client_ops.cpp @@ -41,10 +41,6 @@ // formatting failures for any software that has been localized or // displays localized data. -#ifdef _MSC_VER -#define snprintf _snprintf -#endif - #ifdef _WIN32 #include "boinc_win.h" #include "../version.h" @@ -2012,7 +2008,6 @@ int RPC_CLIENT::run_graphics_app(const char *operation, int& operand, const char } } return retval; - return rpc.parse_reply(); } int RPC_CLIENT::set_proxy_settings(GR_PROXY_INFO& procinfo) {