Crashlog: Tag image base with [[maybe_unused]]

This commit is contained in:
Jonathan G Rennison
2024-02-03 12:04:55 +00:00
parent 7d92f185d3
commit 04fc0c37dc

View File

@@ -427,7 +427,7 @@ static const uint MAX_FRAMES = 64;
/* Get module name. */ /* Get module name. */
const char *mod_name = "???"; const char *mod_name = "???";
const char *image_name = nullptr; const char *image_name = nullptr;
DWORD64 image_base = 0; [[maybe_unused]] DWORD64 image_base = 0;
IMAGEHLP_MODULE64 module; IMAGEHLP_MODULE64 module;
module.SizeOfStruct = sizeof(module); module.SizeOfStruct = sizeof(module);