From a7daffd6b9d33ffc68e1dd1bf63eceb6e2bebfbe Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sat, 19 Sep 2020 10:06:26 +0200 Subject: [PATCH] Moved #endif to silence compiler warning. --- coders/ghostscript-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/ghostscript-private.h b/coders/ghostscript-private.h index 3870e8b0ff..8f48be10de 100644 --- a/coders/ghostscript-private.h +++ b/coders/ghostscript-private.h @@ -44,7 +44,6 @@ static int MagickDLLCall GhostscriptDelegateMessage(void *handle, (*messages)[length+offset] ='\0'; return(length); } -#endif static double GhostscriptVersion(const GhostInfo *ghost_info) { @@ -57,6 +56,7 @@ static double GhostscriptVersion(const GhostInfo *ghost_info) return(revision.revision/1000.0); return(revision.revision/100.0); } +#endif static inline MagickBooleanType InvokeGhostscriptDelegate( const MagickBooleanType verbose,const char *command,char *message,