From aab4792db8e0adcaf63cf57a1f5e0b18666dae47 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 26 Jun 2016 18:15:09 +0000 Subject: Promote Development to Advanced as Release 10.75.00 git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2803 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/other/pstopnm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'converter/other/pstopnm.c') diff --git a/converter/other/pstopnm.c b/converter/other/pstopnm.c index b253442f..016db2f6 100644 --- a/converter/other/pstopnm.c +++ b/converter/other/pstopnm.c @@ -784,12 +784,11 @@ execGhostscript(int const inputPipeFd, const char * gopt; const char * ropt; const char * textalphabitsopt; - int rc; findGhostscriptProg(&ghostscriptProg); /* Put the input pipe on Standard Input */ - rc = dup2(inputPipeFd, STDIN_FILENO); + dup2(inputPipeFd, STDIN_FILENO); close(inputPipeFd); pm_asprintf(&arg0, "gs"); -- cgit 1.4.1