Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a88b19a9 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixed nullptr check."

parents a282cdaf 92157cdd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1386,7 +1386,7 @@ void format_args(int argc, const char *argv[], std::string *args) {
void format_args(const char* command, const char *args[], std::string *string) {
    LOG_ALWAYS_FATAL_IF(args == nullptr || command == nullptr);
    string->append(command);
    if (args[0] == nullptr) return;
    if (args[1] == nullptr) return;
    string->append(" ");

    for (int arg = 1; arg <= 1000; ++arg) {