Bug 1857752 - Remove else block after return in if block. r=sylvestre Ledru

Differential Revision: https://phabricator.services.mozilla.com/D191035
This commit is contained in:
kushalpokharel 2023-10-19 18:30:29 +00:00
parent 2431b0125b
commit 9725cf2482

View File

@ -78,7 +78,9 @@ static bool RestartApplication() {
if (pid == -1) {
free(argv);
return false;
} else if (pid == 0) {
}
if (pid == 0) {
(void)execv(argv[0], argv);
_exit(1);
}