send event: Do use nullptr, not NULL

This commit is contained in:
Lorenz Meier
2017-02-04 14:46:34 +01:00
parent ffacc6f64a
commit 7fbc71f054

View File

@@ -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) {