From c05cbcd1354f6f570da9ad212cfe1c2053cb7f65 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 3 May 2014 22:11:28 +1000 Subject: [PATCH] Fix warning --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index 6f50b611..4ece9dc4 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1127,7 +1127,7 @@ static json_t *parse_submit(stratum_instance_t *client, json_t *json_msg, json_t *params_val, json_t **err_val) { const char *user, *job_id, *nonce2, *ntime, *nonce; - char hexhash[68], sharehash[32], *logdir; + char hexhash[68], sharehash[32], *logdir = NULL; bool share = false, ret = false; uint64_t wb_id = 0, id; double sdiff = -1;