lint warning fix

This commit is contained in:
proddy
2021-11-02 10:47:46 +01:00
parent d78fb53845
commit b8f69eeaa8

View File

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