Explicitly initialize last_real time.
authorEmil Mikulic <emikulic@gmail.com>
Sat, 25 Jan 2014 07:51:16 +0000 (18:51 +1100)
committerEmil Mikulic <emikulic@gmail.com>
Sat, 25 Jan 2014 14:07:28 +0000 (01:07 +1100)
graph_db.c

index 5dcf4c3..3f503c0 100644 (file)
@@ -57,6 +57,7 @@ void graph_init(void) {
    }
    start_mono = now_mono();
    start_real = now_real();
+   last_real = 0;
    graph_reset();
 }