Fixes #2346 Thanks to @hurtsky
@@ -1,6 +1,8 @@
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
+#pragma warning(disable:4800)
+
#include "int_storage.h"
#include "../common/malloc.h"
@@ -50,7 +50,7 @@ yamlwrapper* yaml_load_file(const char* file_name) {
} catch (YAML::ParserException &e) {
ShowError("YAML Exception Caught: %s\n", e.what());
return NULL;
- } catch (YAML::BadFile &e) {
+ } catch (YAML::BadFile) {
}