aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pdf-mod-info.cc
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-07-26 13:37:50 +0200
committerm-holger <m-holger@kubitscheck.org>2022-07-26 14:40:13 +0200
commit073808aa50f0c78e2d6fea4f56f0b814b314eb42 (patch)
treee2598b807a59cab41825d3b36f33dce45c7ba4de /examples/pdf-mod-info.cc
parentd27edd54c4b077de66c40f681ff5d0e266952884 (diff)
downloadqpdf-073808aa50f0c78e2d6fea4f56f0b814b314eb42.tar.zst
Code tidy : replace 0 with nullptr or true
Diffstat (limited to 'examples/pdf-mod-info.cc')
-rw-r--r--examples/pdf-mod-info.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/pdf-mod-info.cc b/examples/pdf-mod-info.cc
index 2b8e3c47..fa49738b 100644
--- a/examples/pdf-mod-info.cc
+++ b/examples/pdf-mod-info.cc
@@ -11,7 +11,7 @@
#include <string.h>
static char const* version = "1.1";
-static char const* whoami = 0;
+static char const* whoami = nullptr;
void
usage()
@@ -77,8 +77,8 @@ main(int argc, char* argv[])
exit(0);
}
- char* fl_in = 0;
- char* fl_out = 0;
+ char* fl_in = nullptr;
+ char* fl_out = nullptr;
std::string cur_key;
for (int i = 1; i < argc; ++i) {