diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-05-03 01:16:12 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-05-03 01:16:12 +0000 |
commit | e785d0a39388043886fb9458ba8ca27ec0268269 (patch) | |
tree | 62e76fdba14a35f1000f321c45873361ef54d4f6 /converter/other/pstopnm.c | |
parent | 83c9c5089e0b433efa6f0968262a1e7e3e15a728 (diff) | |
download | netpbm-mirror-e785d0a39388043886fb9458ba8ca27ec0268269.tar.gz netpbm-mirror-e785d0a39388043886fb9458ba8ca27ec0268269.tar.xz netpbm-mirror-e785d0a39388043886fb9458ba8ca27ec0268269.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2738 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/pstopnm.c')
-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"); |