From 4aaefbfa2b7a7a70ff6c6851dc3cee01b5993149 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 9 Jan 2013 14:11:53 +0100 Subject: [PATCH] graph: fix bogus used initialized warning Signed-off-by: Jens Axboe --- graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.25.1