mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
build: msvc uninitialized variables. (#2239)
MSVC build failing because of a warning treated as an error for variables being used without initializing even though they are being passed as references.
This commit is contained in:
@@ -985,7 +985,7 @@ namespace hex {
|
||||
glfwWindowHint(GLFW_MAXIMIZED, initialWindowProperties->maximized);
|
||||
}
|
||||
|
||||
int monitorX, monitorY;
|
||||
int monitorX = 0, monitorY = 0;
|
||||
int monitorWidth = std::numeric_limits<int>::max(), monitorHeight = std::numeric_limits<int>::max();
|
||||
GLFWmonitor *monitor = glfwGetPrimaryMonitor();
|
||||
if (monitor != nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user