From 7fbc71f0547c298f425bc338196416816e7e8b3b Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sat, 4 Feb 2017 14:46:34 +0100 Subject: [PATCH] send event: Do use nullptr, not NULL --- src/modules/events/send_event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/events/send_event.cpp b/src/modules/events/send_event.cpp index 1c408881f8..638d395ac9 100644 --- a/src/modules/events/send_event.cpp +++ b/src/modules/events/send_event.cpp @@ -245,7 +245,7 @@ int send_event_main(int argc, char *argv[]) bool calib_all = true; int myoptind = 1; int ch; - const char *myoptarg = NULL; + const char *myoptarg = nullptr; while ((ch = px4_getopt(argc, argv, "abg", &myoptind, &myoptarg)) != EOF) { switch (ch) {