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:
parent
9aae2256d3
commit
0a8f584909
4
ocl.c
4
ocl.c
@ -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};
|
||||
|
Loading…
x
Reference in New Issue
Block a user