mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-25 11:24:54 +02:00
Silenced warnings.
This commit is contained in:
+1
-1
@@ -663,7 +663,7 @@ MagickPrivate cl_command_queue AcquireOpenCLCommandQueue(MagickCLDevice device)
|
||||
else
|
||||
{
|
||||
UnlockSemaphoreInfo(device->lock);
|
||||
properties=(cl_command_queue_properties) NULL;
|
||||
properties=0;
|
||||
if (device->profile_kernels != MagickFalse)
|
||||
properties=CL_QUEUE_PROFILING_ENABLE;
|
||||
queue=openCL_library->clCreateCommandQueue(device->context,
|
||||
|
||||
+1
-1
@@ -284,7 +284,7 @@ MagickExport RandomInfo *DestroyRandomInfo(RandomInfo *random_info)
|
||||
if (random_info->signature_info != (SignatureInfo *) NULL)
|
||||
random_info->signature_info=DestroySignatureInfo(
|
||||
random_info->signature_info);
|
||||
(void) memset(random_info->seed,0,sizeof(*random_info->seed));
|
||||
(void) memset(random_info->seed,0,sizeof(random_info->seed));
|
||||
random_info->signature=(~MagickCoreSignature);
|
||||
UnlockSemaphoreInfo(random_info->semaphore);
|
||||
RelinquishSemaphoreInfo(&random_info->semaphore);
|
||||
|
||||
Reference in New Issue
Block a user