From 0a8f584909e91f94e3356611aff720516afce156 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 25 Apr 2013 00:09:09 +1000 Subject: [PATCH] Initialise variables not set on OSX in ocl.c. --- ocl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ocl.c b/ocl.c index cc9b356f..7a7e1da2 100644 --- a/ocl.c +++ b/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};