From acc5f4da161db1ec529003f6f28552caadf746e9 Mon Sep 17 00:00:00 2001 From: bradgrantham-lunarg <50641407+bradgrantham-lunarg@users.noreply.github.com> Date: Thu, 2 Jan 2025 22:49:34 -0800 Subject: [PATCH] initialize quit_frame (#1940) initialize quit_frame and avoid a VSCode assertion in debug --- tools/replay/desktop_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/replay/desktop_main.cpp b/tools/replay/desktop_main.cpp index 40a53d3e75..127f4dfab7 100644 --- a/tools/replay/desktop_main.cpp +++ b/tools/replay/desktop_main.cpp @@ -187,7 +187,7 @@ int main(int argc, const char** argv) uint32_t end_frame = 0; bool quit_after_frame = false; - uint32_t quit_frame; + uint32_t quit_frame = std::numeric_limits::max(); bool has_mfr = false; bool quit_after_measurement_frame_range = false;