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

Commit de6d1d88 authored by Brian Carlstrom's avatar Brian Carlstrom
Browse files

Move LOG_ALWAYS_FATAL to end of app_process

Since LOG_ALWAYS_FATAL is always fatal and code after it is by
definition unreachable, put the call after other diagnostic output.

Change-Id: Ib3a515a04125d8e4f6e8af3a6f59226e8f0dd9cd
parent c8b7971c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -171,9 +171,9 @@ int main(int argc, const char* const argv[])
            runtime.start();
        }
    } else {
        LOG_ALWAYS_FATAL("app_process: no class name or --zygote supplied.");
        fprintf(stderr, "Error: no class name or --zygote supplied.\n");
        app_usage();
        LOG_ALWAYS_FATAL("app_process: no class name or --zygote supplied.");
        return 10;
    }