From 871215d33e40400c42e38fa1c83da263bb6324ed Mon Sep 17 00:00:00 2001 From: dirk Date: Sun, 14 Aug 2016 19:23:59 +0200 Subject: [PATCH] Build fix. --- MagickCore/opencl.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/MagickCore/opencl.c b/MagickCore/opencl.c index 6f1699602..b8656a20b 100644 --- a/MagickCore/opencl.c +++ b/MagickCore/opencl.c @@ -725,16 +725,12 @@ static void LoadOpenCLDeviceBenchmark(MagickCLEnv clEnv,const char *xml) MagickCLDeviceBenchmark *device_benchmark; - MagickStatusType - status; - size_t i, extent; if (xml == (char *) NULL) return; - status=MagickTrue; device_benchmark=(MagickCLDeviceBenchmark *) NULL; token=AcquireString(xml); extent=strlen(token)+MagickPathExtent; @@ -919,7 +915,7 @@ static MagickBooleanType LoadOpenCLBenchmarks(MagickCLEnv clEnv, return(MagickFalse); } - option=ConfigureFileToStringInfo(filename,exception); + option=ConfigureFileToStringInfo(filename); LoadOpenCLDeviceBenchmark(clEnv,(const char *) GetStringInfoDatum(option)); option=DestroyStringInfo(option); return(MagickTrue); -- 2.49.0