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

Commit cef5fbb2 authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by Gerrit Code Review
Browse files

Merge "Fix uninitialized value warnings."

parents 54c5f0d0 442e08ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -177,7 +177,7 @@ strip_file(const string& path)
        } else {
            // Split the arguments if more than 1
            char* cmd = strdup(strip_cmd);
            const char** args = (const char**) malloc(sizeof(const char*) * (num_args + 2));
            const char** args = (const char**) calloc((num_args + 2), sizeof(const char*));

            const char** curr = args;
            char* s = cmd;