gfio: split some parts into gclient.c
[fio.git] / flow.c
diff --git a/flow.c b/flow.c
index e5c4a40462ceb5e6e94bebcf3534016ebf6091a4..bf5eeec59c0acf2e06d0038ff438dab459d3b2ee 100644 (file)
--- a/flow.c
+++ b/flow.c
@@ -36,7 +36,7 @@ int flow_threshold_exceeded(struct thread_data *td)
 
 static struct fio_flow *flow_get(unsigned int id)
 {
-       struct fio_flow *flow;
+       struct fio_flow *flow = NULL;
        struct flist_head *n;
 
        fio_mutex_down(flow_lock);