1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Initialise cnt in libztex.c

This commit is contained in:
Con Kolivas 2012-08-18 23:21:24 +10:00
parent 439e685bfa
commit 9e76aed66d

View File

@ -628,7 +628,7 @@ int libztex_sendHashData(struct libztex_device *ztex, unsigned char *sendbuf)
int libztex_readHashData(struct libztex_device *ztex, struct libztex_hash_data nonces[]) {
int bufsize = 12 + ztex->extraSolutions * 4;
int cnt, i, j, ret, len;
int cnt = 0, i, j, ret, len;
unsigned char *rbuf;
if (ztex->hndl == NULL)