diff options
Diffstat (limited to 'converter/other')
-rw-r--r-- | converter/other/pstopnm.c | 3 |
1 files changed, 1 insertions, 2 deletions
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"); |