From 0f00ba2f021507f3f64eb6794e69f9557bb95915 Mon Sep 17 00:00:00 2001 From: Cory Bloor Date: Thu, 26 Sep 2019 23:25:29 -0600 Subject: [PATCH] Fix uninitialized variable use --- main.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cxx b/main.cxx index 1e2a490..1ee0af2 100644 --- a/main.cxx +++ b/main.cxx @@ -1180,6 +1180,7 @@ int main(int argc, char** argv) { draw(&buf); timespec interval_start; + clock_gettime(CLOCK_MONOTONIC, &interval_start); while (process_keypress()) { sim_step(); interval_start = wait(1e8, interval_start);