Browse Source

Unnecessary extra array in ocl code.

ckolivas 12 years ago
parent
commit
cdf095cfcd
1 changed files with 0 additions and 1 deletions
  1. 0 1
      ocl.c

+ 0 - 1
ocl.c

@@ -314,7 +314,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);