aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qpdfjob-remove-annotations.cc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qpdfjob-remove-annotations.cc')
-rw-r--r--examples/qpdfjob-remove-annotations.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/qpdfjob-remove-annotations.cc b/examples/qpdfjob-remove-annotations.cc
index dfab3f7b..5334e7dc 100644
--- a/examples/qpdfjob-remove-annotations.cc
+++ b/examples/qpdfjob-remove-annotations.cc
@@ -4,7 +4,6 @@
#include <cstdio>
#include <cstdlib>
-#include <cstring>
#include <iostream>
// This example demonstrates how we can use the QPDFJob createQPDF and writeQPDF
@@ -12,7 +11,7 @@
// The example is a full copy of the qpdf program modified to allways remove all
// annotations from the final output.
-static char const* whoami = 0;
+static char const* whoami = nullptr;
static void
usageExit(std::string const& msg)