Commit 2b9d43cc authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Properly initialize the fantom iterators before using them.

Spotted by: Coverity
parent ddff9a26
......@@ -860,7 +860,9 @@ do_curses(struct VSM_data *vd, int delay)
long t;
int ch;
double now;
struct VSM_fantom f_main, f_mgt, f_iter;
struct VSM_fantom f_main = VSM_FANTOM_NULL;
struct VSM_fantom f_mgt = VSM_FANTOM_NULL;
struct VSM_fantom f_iter = VSM_FANTOM_NULL;
(void)delay;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment