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

api.c avoid incorrect gcc warning

This commit is contained in:
Kano 2014-02-14 15:24:36 +11:00 committed by Noel Maersk
parent b97fc0885a
commit a9a51459c7

2
api.c
View File

@ -3737,7 +3737,7 @@ void api(int api_thr_id)
json_t *json_config = NULL; json_t *json_config = NULL;
json_t *json_val; json_t *json_val;
bool isjson; bool isjson;
bool did, isjoin, firstjoin; bool did, isjoin = false, firstjoin;
int i; int i;
SOCKETTYPE *apisock; SOCKETTYPE *apisock;