Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/xpdf/pdftops.cc
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/xpdf/pdftops.cc')
-rw-r--r--pdf/xpdf/pdftops.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/pdf/xpdf/pdftops.cc b/pdf/xpdf/pdftops.cc
index 07dca22..d6fd653 100644
--- a/pdf/xpdf/pdftops.cc
+++ b/pdf/xpdf/pdftops.cc
@@ -61,7 +61,6 @@ int main(int argc, char *argv[]) {
PDFDoc *doc;
GString *fileName;
GString *psFileName;
- FILE *file;
PSOutputDev *psOut;
GBool ok;
char *p;
@@ -88,7 +87,7 @@ int main(int argc, char *argv[]) {
// open PDF file
xref = NULL;
- doc = new PDFDoc(new FileStream (fileOpen (fileName)), fileName);
+ doc = new PDFDoc(fileName);
if (!doc->isOk()) {
goto err1;
}