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

Unnecessary extra array in ocl code.

This commit is contained in:
ckolivas 2013-04-17 22:01:38 +10:00
parent 42e8eac9dc
commit a797898fc3

1
ocl.c
View File

@ -131,7 +131,6 @@ int clDevicesNum(void) {
}
if (numDevices) {
unsigned int j;
char pbuff[256];
cl_device_id *devices = (cl_device_id *)malloc(numDevices*sizeof(cl_device_id));
clGetDeviceIDs(platform, CL_DEVICE_TYPE_GPU, numDevices, devices, NULL);