]> granicus.if.org Git - imagemagick/commitdiff
Build fix.
authordirk <dirk@git.imagemagick.org>
Sun, 14 Aug 2016 17:23:59 +0000 (19:23 +0200)
committerdirk <dirk@git.imagemagick.org>
Sun, 14 Aug 2016 17:24:26 +0000 (19:24 +0200)
MagickCore/opencl.c

index 6f1699602207a9996fcbc872fcbb21c4331e394d..b8656a20b41b57126e4eba5b1b954cd4a69fd91a 100644 (file)
@@ -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);