From: cristy Date: Mon, 20 Dec 2010 15:57:05 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~8376 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a73c0f8d6cd8acb8fc0d0fa9c7e25ff6601a94a5;p=imagemagick --- diff --git a/coders/pdf.c b/coders/pdf.c index 0353845a0..a01fa42b6 100644 --- a/coders/pdf.c +++ b/coders/pdf.c @@ -175,6 +175,7 @@ static MagickBooleanType InvokePDFDelegate(const MagickBooleanType verbose, status=SystemCommand(MagickFalse,verbose,command,exception); return(status == 0 ? MagickTrue : MagickFalse); } + code=0; argv=StringToArgv(command,&argc); status=(ghost_info->init_with_args)(interpreter,argc-1,argv+1); if (status == 0) diff --git a/coders/ps.c b/coders/ps.c index ecdaa2eff..9508915de 100644 --- a/coders/ps.c +++ b/coders/ps.c @@ -167,6 +167,7 @@ static MagickBooleanType InvokePostscriptDelegate( status=SystemCommand(MagickFalse,verbose,command,exception); return(status == 0 ? MagickTrue : MagickFalse); } + code=0; argv=StringToArgv(command,&argc); status=(ghost_info->init_with_args)(interpreter,argc-1,argv+1); if (status == 0)