style(sonar): fix cpp:S4962 (#4140)
This commit is contained in:
parent
dbe80d0f92
commit
fc7b9e30c8
20 changed files with 119 additions and 119 deletions
|
|
@ -155,7 +155,7 @@ namespace nvhttp {
|
|||
std::string get_arg(const args_t &args, const char *name, const char *default_value = nullptr) {
|
||||
auto it = args.find(name);
|
||||
if (it == std::end(args)) {
|
||||
if (default_value != NULL) {
|
||||
if (default_value != nullptr) {
|
||||
return std::string(default_value);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue