summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorHib Eris <hib@hiberis.nl>2013-11-15 19:59:52 +0100
committerAlbert Astals Cid <aacid@kde.org>2013-11-15 20:26:54 +0100
commit3ea3d7c6c7a0ede76428204ec11aec3a844117fc (patch)
tree46aaf63de335b9414ac229e3000b49a5e9be6cb2 /utils
parent97910b9eb92df49757915bde02e0d54de04552d4 (diff)
pdftotext: Silence warning for may be used uninitialized variable
Bug #71640
Diffstat (limited to 'utils')
-rw-r--r--utils/pdftotext.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/pdftotext.cc b/utils/pdftotext.cc
index f2d72333..c90968db 100644
--- a/utils/pdftotext.cc
+++ b/utils/pdftotext.cc
@@ -341,7 +341,7 @@ int main(int argc, char *argv[]) {
}
// write text file
- if (bbox) {
+ if (htmlMeta && bbox) { // htmlMeta && is superfluous but makes gcc happier
textOut = new TextOutputDev(NULL, physLayout, fixedPitch, rawOrder, htmlMeta);
if (textOut->isOk()) {