From 96fd8556f219396ea865f40111c9c06ac686a196 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sat, 21 Oct 2017 17:58:05 +0300 Subject: [PATCH] Silence annoying experimental build warning - Compiling locally on VS defines BRANCH to "" (empty $BRANCH envvar) and defines _MSC_VER. The pdb check is useless since it will never be reached --- rpcs3/rpcs3qt/main_window.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rpcs3/rpcs3qt/main_window.cpp b/rpcs3/rpcs3qt/main_window.cpp index 2115972870..c31f351446 100644 --- a/rpcs3/rpcs3qt/main_window.cpp +++ b/rpcs3/rpcs3qt/main_window.cpp @@ -121,10 +121,7 @@ void main_window::Init() } #ifdef BRANCH - if ("RPCS3/rpcs3/master"s != STRINGIZE(BRANCH)) -#elif _MSC_VER - fs::stat_t st; - if (!fs::stat(fs::get_config_dir() + "rpcs3.pdb", st) || st.is_directory || st.size < 1024 * 1024 * 100) + if ("RPCS3/rpcs3/master"s != STRINGIZE(BRANCH) && ""s != STRINGIZE(BRANCH)) #else if (false) #endif