From 81077f7d0b4b16e98e3380ed087573033420231c Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 23 Oct 2017 09:14:30 -0400 Subject: [PATCH] initialize num --- algorithm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algorithm.c b/algorithm.c index 87e59b48..5d8cc709 100644 --- a/algorithm.c +++ b/algorithm.c @@ -505,7 +505,7 @@ static cl_int queue_sibcoin_mod_kernel(struct __clState *clState, struct _dev_bl static cl_int queue_gostcoin_mod_kernel(struct __clState *clState, struct _dev_blk_ctx *blk, __maybe_unused cl_uint threads) { cl_kernel *kernel = &clState->kernel; - unsigned int num; + unsigned int num = 0; cl_ulong le_target; cl_int status = 0;