const nsAutoString message = szMessage;
const nsAutoString message( szMessage );
wallet_Alert(PRUnichar * szMessage, nsIDOMWindow* window){  nsresult res;  nsCOMPtr<nsIPrompt> dialog;   window->GetPrompter(getter_AddRefs(dialog));   if (!dialog) {    return;     // XXX should return the error  }   const nsAutoString message = szMessage;  PRUnichar * title = Wallet_Localize("CaveatTitle");  res = dialog->Alert(title, message.GetUnicode());  Recycle(title);  return;     // XXX should return the error}