projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92a0daf
)
graph: fix bogus used initialized warning
author
Jens Axboe
<axboe@kernel.dk>
Wed, 9 Jan 2013 13:11:53 +0000
(14:11 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 9 Jan 2013 13:11:53 +0000
(14:11 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
graph.c
patch
|
blob
|
blame
|
history
diff --git
a/graph.c
b/graph.c
index 7a7c7925c55fa35da4c857ecb46eaf154de84da7..5c865dcf2964fc4c809b1011d45fdbe45c9f3f65 100644
(file)
--- 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))