Silenced warnings.

This commit is contained in:
Dirk Lemstra
2018-03-25 09:59:12 +02:00
parent 9c63f6d3aa
commit a61abe755e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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);