mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1171361 - Fix -Wunreachable-code-break warnings in shell/nsMacShellService.cpp. r=mak
This commit is contained in:
parent
b609bbf3ce
commit
b541fec333
@ -355,8 +355,7 @@ nsMacShellService::OpenApplication(int32_t aApplication)
|
||||
if (!exists)
|
||||
return NS_ERROR_FILE_NOT_FOUND;
|
||||
return lf->Launch();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case nsIMacShellService::APPLICATION_DESKTOP:
|
||||
{
|
||||
nsCOMPtr<nsIFile> lf;
|
||||
@ -367,8 +366,7 @@ nsMacShellService::OpenApplication(int32_t aApplication)
|
||||
if (!exists)
|
||||
return NS_ERROR_FILE_NOT_FOUND;
|
||||
return lf->Launch();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (appURL && err == noErr) {
|
||||
|
Loading…
Reference in New Issue
Block a user