From: Jens Axboe Date: Wed, 9 Jan 2013 13:11:53 +0000 (+0100) Subject: graph: fix bogus used initialized warning X-Git-Tag: fio-2.1~57^2~32 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=4aaefbfa2b7a7a70ff6c6851dc3cee01b5993149;ds=sidebyside graph: fix bogus used initialized warning Signed-off-by: Jens Axboe --- diff --git a/graph.c b/graph.c index 7a7c7925..5c865dcf 100644 --- a/graph.c +++ b/graph.c @@ -180,7 +180,7 @@ static double maxdouble(double a, double b) static double find_double_values(struct graph_label *l, double_comparator cmp) { struct flist_head *entry; - double answer, tmp; + double answer = 0.0, tmp; int first = 1; if (flist_empty(&l->value_list))