mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-26 02:14:15 +08:00
Merge pull request #34 from Sak32009/patch-msbuild-warnings-1
fixed msbuild warnings (again and again forever maybe)
This commit is contained in:
commit
1c012c9ac7
@ -813,7 +813,8 @@ bool Local_Storage::load_json(const std::string &full_path, nlohmann::json& json
|
|||||||
PRINT_DEBUG("Loaded json '%s' (%zu items)", full_path.c_str(), json.size());
|
PRINT_DEBUG("Loaded json '%s' (%zu items)", full_path.c_str(), json.size());
|
||||||
return true;
|
return true;
|
||||||
} catch (const std::exception& e) {
|
} catch (const std::exception& e) {
|
||||||
PRINT_DEBUG("Error while parsing '%s' json error: %s", full_path.c_str(), e.what());
|
const char *errorMessage = e.what();
|
||||||
|
PRINT_DEBUG("Error while parsing '%s' json error: %s", full_path.c_str(), errorMessage);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
PRINT_DEBUG("Couldn't open file '%s' to read json", full_path.c_str());
|
PRINT_DEBUG("Couldn't open file '%s' to read json", full_path.c_str());
|
||||||
|
@ -1053,7 +1053,8 @@ static void try_parse_mods_file(class Settings *settings_client, Settings *setti
|
|||||||
PRINT_DEBUG(" workshop_item_url: '%s'", newMod.workshopItemURL.c_str());
|
PRINT_DEBUG(" workshop_item_url: '%s'", newMod.workshopItemURL.c_str());
|
||||||
PRINT_DEBUG(" preview_url: '%s'", newMod.previewURL.c_str());
|
PRINT_DEBUG(" preview_url: '%s'", newMod.previewURL.c_str());
|
||||||
} catch (std::exception& e) {
|
} catch (std::exception& e) {
|
||||||
PRINT_DEBUG("MODLOADER ERROR: %s", e.what());
|
const char *errorMessage = e.what();
|
||||||
|
PRINT_DEBUG("MODLOADER ERROR: %s", errorMessage);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -582,7 +582,8 @@ bool Steam_User_Stats::ResetAllStats( bool bAchievementsToo )
|
|||||||
// this won't actually trigger a notification, just updates the data
|
// this won't actually trigger a notification, just updates the data
|
||||||
overlay->AddAchievementNotification(name, item, false);
|
overlay->AddAchievementNotification(name, item, false);
|
||||||
} catch(const std::exception& e) {
|
} catch(const std::exception& e) {
|
||||||
PRINT_DEBUG("ERROR: %s", e.what());
|
const char *errorMessage = e.what();
|
||||||
|
PRINT_DEBUG("ERROR: %s", errorMessage);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (needs_disk_write) save_achievements();
|
if (needs_disk_write) save_achievements();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user