]> granicus.if.org Git - imagemagick/commitdiff
Renamed variable.
authorDirk Lemstra <dirk@git.imagemagick.org>
Fri, 16 Mar 2018 23:29:25 +0000 (00:29 +0100)
committerDirk Lemstra <dirk@git.imagemagick.org>
Fri, 16 Mar 2018 23:29:52 +0000 (00:29 +0100)
MagickCore/opencl.c

index 4c9f371eee292b2af0674f44a47658391a6ec5ae..1e68cefbb4d98c0d2a70933c3b2e5165aa3ac59f 100644 (file)
@@ -1290,7 +1290,7 @@ static MagickBooleanType LoadCachedOpenCLKernel(MagickCLDevice device,
     status;
 
   ExceptionInfo
-    *exception;
+    *sans_exception;
 
   size_t
     length;
@@ -1298,9 +1298,10 @@ static MagickBooleanType LoadCachedOpenCLKernel(MagickCLDevice device,
   unsigned char
     *binaryProgram;
 
-  exception=AcquireExceptionInfo();
-  binaryProgram=(unsigned char *) FileToBlob(filename,~0UL,&length,exception);
-  exception=DestroyExceptionInfo(exception);
+  sans_exception=AcquireExceptionInfo();
+  binaryProgram=(unsigned char *) FileToBlob(filename,~0UL,&length,
+    sans_exception);
+  sans_exception=DestroyExceptionInfo(sans_exception);
   if (binaryProgram == (unsigned char *) NULL)
     return(MagickFalse);
   device->program=openCL_library->clCreateProgramWithBinary(device->context,1,