From 9983c96ca0667467d2ff5cdc29809b1d76a96372 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 20 May 2014 16:26:47 +1000 Subject: [PATCH] Fix uninitialised variable --- src/generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generator.c b/src/generator.c index b4c47b6e..8faaa9ae 100644 --- a/src/generator.c +++ b/src/generator.c @@ -966,9 +966,9 @@ static void *proxy_send(void *arg) notify_instance_t *ni; stratum_msg_t *msg; char *jobid = NULL; + bool ret = true; json_t *val; uint32_t id; - bool ret; mutex_lock(&proxi->psend_lock); if (!proxi->psends)