From 30220fc97cad1717a2a3ce3ad03286ef1e6e29f3 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 4 May 2009 17:08:22 +0200 Subject: [PATCH] rrdtool plugin: Make absolutely sure two local variables are initialized. To make the compiler happy. --- src/rrdtool.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rrdtool.c b/src/rrdtool.c index 27e64c11..986c8b41 100644 --- a/src/rrdtool.c +++ b/src/rrdtool.c @@ -624,6 +624,9 @@ static void *rrd_queue_thread (void *data) int status; int i; + values = NULL; + values_num = 0; + pthread_mutex_lock (&queue_lock); /* Wait for values to arrive */ while (true) -- 2.11.0