From 14f37c2e09baab957b4c04a40ef7a7167ae21cac Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 14 Jun 2014 12:12:45 +1000 Subject: [PATCH] Avoid undefined error on share submission after error --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index 62be0fe8..7b3f88ea 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1998,7 +1998,7 @@ static void *share_processor(void *arg) rename_proc("sprocessor"); while (42) { - json_t *result_val, *json_msg, *err_val; + json_t *result_val, *json_msg, *err_val = NULL; stratum_instance_t *client; int client_id;