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
This commit is contained in:
kd-11 2017-10-21 17:58:05 +03:00
parent 8f324dfc0a
commit 96fd8556f2
1 changed files with 1 additions and 4 deletions

View File

@ -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