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

Use correct variable in initialisation.

This commit is contained in:
Con Kolivas 2011-07-12 00:54:42 +10:00
parent c3566d3ffa
commit 6d4476bba2

2
main.c
View File

@ -1740,7 +1740,7 @@ int main (int argc, char *argv[])
#ifdef HAVE_OPENCL
for (i = 0; i < 16; i++)
gpu_devices[true] = false;
gpu_devices[i] = false;
nDevs = clDevicesNum();
if (nDevs < 0)
return 1;