mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00
clean up warnings in wallet
b=204184 p=timeless r=me sr=bryner
This commit is contained in:
parent
229ee709e9
commit
ee2299312d
@ -2631,7 +2631,7 @@ si_DoDialogIfPrefIsOff(
|
||||
PRUint32 savePassword,
|
||||
DialogType dlg) {
|
||||
|
||||
nsresult res;
|
||||
nsresult res = NS_ERROR_FAILURE;
|
||||
const PRUnichar * prompt_string = dialogTitle;
|
||||
if (dialogTitle == nsnull || !dialogTitle[0]) {
|
||||
prompt_string = Wallet_Localize("PromptForData");
|
||||
@ -2664,8 +2664,7 @@ si_DoDialogIfPrefIsOff(
|
||||
#ifdef DEBUG
|
||||
break;
|
||||
default:
|
||||
NS_ASSERTION(PR_FALSE, "Undefined DialogType in si_DoDialogIfPrefIsOff");
|
||||
res = NS_ERROR_FAILURE;
|
||||
NS_ERROR("Undefined DialogType in si_DoDialogIfPrefIsOff");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user