static Quantum *SetPixelCacheNexusPixels(
const CacheInfo *magick_restrict cache_info,const MapMode mode,
const ssize_t x,const ssize_t y,const size_t width,const size_t height,
- const MagickBooleanType buffered,NexusInfo *nexus_info,
+ const MagickBooleanType buffered,NexusInfo *magick_restrict nexus_info,
ExceptionInfo *exception)
{
MagickBooleanType
"SYSTEM\\CurrentControlSet\\Control\\FileSystem",0,KEY_READ,
®istry_key);
if (status != ERROR_SUCCESS)
- {
- RegCloseKey(registry_key);
- long_paths_enabled=0;
- return(MagickFalse);
- }
- value=(PVOID) NULL;
+ {
+ RegCloseKey(registry_key);
+ long_paths_enabled=0;
+ return(MagickFalse);
+ }
+ value=0;
status=RegQueryValueExA(registry_key,"LongPathsEnabled",0,&type,NULL,
NULL);
if ((status != ERROR_SUCCESS) || (type != REG_DWORD))
- {
- RegCloseKey(registry_key);
- long_paths_enabled=0;
- return(MagickFalse);
- }
+ {
+ RegCloseKey(registry_key);
+ long_paths_enabled=0;
+ return(MagickFalse);
+ }
status=RegQueryValueExA(registry_key,"LongPathsEnabled",0,&type,&value,
&size);
RegCloseKey(registry_key);
if (status != ERROR_SUCCESS)
- {
- long_paths_enabled=0;
- return(MagickFalse);
- }
- long_paths_enabled=(size_t)value;
+ {
+ long_paths_enabled=0;
+ return(MagickFalse);
+ }
+ long_paths_enabled=(size_t) value;
}
return(long_paths_enabled == 1 ? MagickTrue : MagickFalse);
}
assert(ximage_info != (XImportInfo *) NULL);
assert(exception != (ExceptionInfo *) NULL);
assert(exception->signature == MagickCoreSignature);
+ (void) ximage_info;
(void) exception;
return((Image *) NULL);
}
static void GetCompositeOptions(const ImageInfo *image_info,
CompositeOptions *composite_options)
{
+ (void) image_info;
(void) memset(composite_options,0,sizeof(*composite_options));
composite_options->channel=DefaultChannels;
composite_options->compose=OverCompositeOp;