Skip to content

Commit

Permalink
Fixed build.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Nov 10, 2022
1 parent 77eccfc commit 381d6f0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions MagickCore/magic.c
Expand Up @@ -472,7 +472,7 @@ static int MagicInfoCompare(const void *x,const void *y)
#endif

MagickExport const MagicInfo **GetMagicInfoList(const char *pattern,
size_t *number_aliases,ExceptionInfo *exception)
size_t *number_aliases,ExceptionInfo *magick_unused(exception))
{
const MagicInfo
**aliases;
Expand All @@ -483,6 +483,7 @@ MagickExport const MagicInfo **GetMagicInfoList(const char *pattern,
ssize_t
i;

magick_unreferenced(exception);
assert(pattern != (char *) NULL);
assert(number_aliases != (size_t *) NULL);
if (IsEventLogging() != MagickFalse)
Expand Down Expand Up @@ -568,7 +569,7 @@ static int MagicCompare(const void *x,const void *y)
#endif

MagickExport char **GetMagicList(const char *pattern,size_t *number_aliases,
ExceptionInfo *exception)
ExceptionInfo *magick_unused(exception))
{
char
**aliases;
Expand All @@ -578,7 +579,8 @@ MagickExport char **GetMagicList(const char *pattern,size_t *number_aliases,

ssize_t
i;


magick_unreferenced(exception);
assert(pattern != (char *) NULL);
assert(number_aliases != (size_t *) NULL);
if (IsEventLogging() != MagickFalse)
Expand Down

0 comments on commit 381d6f0

Please sign in to comment.