From b8f69eeaa8eac7e8f818394e69feacd1796680ce Mon Sep 17 00:00:00 2001 From: proddy Date: Tue, 2 Nov 2021 10:47:46 +0100 Subject: [PATCH] lint warning fix --- src/command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command.cpp b/src/command.cpp index ce954e9e5..05513a3fa 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -527,7 +527,7 @@ bool SUrlParser::parse(const char * uri) { enum Type t = Type::begin; std::string last_param; - if (c != NULL || *c != '\0') { + if (c != nullptr || *c != '\0') { do { if (*c == '/') { if (s.length() > 0) {