1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 04:24:19 +00:00

initialize num

This commit is contained in:
orignal 2017-10-23 09:14:30 -04:00
parent a3c4d628b8
commit 81077f7d0b

View File

@ -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) 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; cl_kernel *kernel = &clState->kernel;
unsigned int num; unsigned int num = 0;
cl_ulong le_target; cl_ulong le_target;
cl_int status = 0; cl_int status = 0;