1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-27 23:14:21 +00:00

Initialise variables not set on OSX in ocl.c.

This commit is contained in:
Con Kolivas 2013-04-25 00:09:09 +10:00
parent 9aae2256d3
commit 0a8f584909

4
ocl.c
View File

@ -502,8 +502,8 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
#endif
FILE *binaryfile;
size_t *binary_sizes;
char **binaries;
size_t *binary_sizes = NULL;
char **binaries = NULL;
int pl;
char *source = file_contents(filename, &pl);
size_t sourceSize[] = {(size_t)pl};