extensions: cast unused parameters to void
This commit is contained in:
parent
fef489ad0f
commit
f8bd56a2e2
2 changed files with 4 additions and 2 deletions
|
@ -48,11 +48,12 @@ typedef int NSColorRenderingIntent;
|
|||
and return it as a dictionary
|
||||
----------------------------------------------------------------------------- */
|
||||
|
||||
Boolean GetMetadataForFile(void* /*thisInterface*/,
|
||||
Boolean GetMetadataForFile(void* thisInterface,
|
||||
CFMutableDictionaryRef attributes,
|
||||
CFStringRef contentTypeUTI,
|
||||
CFStringRef pathToFile)
|
||||
{
|
||||
(void) thisInterface; /* unused */
|
||||
/* Pull any available metadata from the file at the specified path */
|
||||
/* Return the attribute keys and attribute values in the dict */
|
||||
/* Return TRUE if successful, FALSE if there was no data provided */
|
||||
|
|
|
@ -207,8 +207,9 @@ ULONG MetadataImporterPluginRelease(void *thisInstance)
|
|||
// Implementation of the factory function for this type.
|
||||
//
|
||||
void *
|
||||
MetadataImporterPluginFactory(CFAllocatorRef /*allocator*/, CFUUIDRef typeID)
|
||||
MetadataImporterPluginFactory(CFAllocatorRef allocator, CFUUIDRef typeID)
|
||||
{
|
||||
(void) allocator; /* unused */
|
||||
MetadataImporterPluginType *result;
|
||||
CFUUIDRef uuid;
|
||||
|
||||
|
|
Loading…
Reference in a new issue