diff options
author | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2022-07-31 14:33:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-31 14:33:45 +0200 |
commit | 4feb10fdaf51bf3f88b853cdb32a1e9b1692ba52 (patch) | |
tree | a99925c17b8acddd802c705221ee71b71f891694 /examples/pdf-mod-info.cc | |
parent | c9cc8cfd74fdb59d5450939e1772dea35d369b04 (diff) | |
parent | 073808aa50f0c78e2d6fea4f56f0b814b314eb42 (diff) | |
download | qpdf-4feb10fdaf51bf3f88b853cdb32a1e9b1692ba52.tar.zst |
Merge pull request #734 from m-holger/nullptr
Code tidy : replace 0 with nullptr or true
Diffstat (limited to 'examples/pdf-mod-info.cc')
-rw-r--r-- | examples/pdf-mod-info.cc | 6 |
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) { |