Fixed 2 compiler warnings

Fixes #2346

Thanks to @hurtsky
This commit is contained in:
Lemongrass3110 2017-08-20 15:01:05 +02:00
parent 6f985080a8
commit 3183c39cfe
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -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) {
return NULL;
}