mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-25 22:14:36 +00:00
Use correct variable in initialisation.
This commit is contained in:
parent
c3566d3ffa
commit
6d4476bba2
2
main.c
2
main.c
@ -1740,7 +1740,7 @@ int main (int argc, char *argv[])
|
|||||||
|
|
||||||
#ifdef HAVE_OPENCL
|
#ifdef HAVE_OPENCL
|
||||||
for (i = 0; i < 16; i++)
|
for (i = 0; i < 16; i++)
|
||||||
gpu_devices[true] = false;
|
gpu_devices[i] = false;
|
||||||
nDevs = clDevicesNum();
|
nDevs = clDevicesNum();
|
||||||
if (nDevs < 0)
|
if (nDevs < 0)
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user