fix uninitialized variable. #59673. sr=alecf

git-svn-id: svn://10.0.0.236/trunk@82529 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%netscape.com
2000-11-10 15:20:46 +00:00
parent a89b010409
commit f9cbecab17
2 changed files with 2 additions and 2 deletions

View File

@@ -210,7 +210,7 @@ nsNntpIncomingServer::GetNewsrcRootPath(nsIFileSpec **aNewsrcRootPath)
NS_WITH_SERVICE(nsIPref, prefs, kPrefServiceCID, &rv);
if (NS_FAILED(rv)) return rv;
PRBool havePref;
PRBool havePref = PR_FALSE;
nsCOMPtr<nsIFile> localFile;
nsCOMPtr<nsILocalFile> prefLocal;
rv = prefs->GetFileXPref(PREF_MAIL_NEWSRC_ROOT, getter_AddRefs(prefLocal));

View File

@@ -1252,7 +1252,7 @@ nsNntpService::GetDefaultLocalPath(nsIFileSpec ** aResult)
NS_WITH_SERVICE(nsIPref, prefs, kCPrefServiceCID, &rv);
if (NS_FAILED(rv)) return rv;
PRBool havePref;
PRBool havePref = PR_FALSE;
nsCOMPtr<nsIFile> localFile;
nsCOMPtr<nsILocalFile> prefLocal;
rv = prefs->GetFileXPref(PREF_MAIL_ROOT_NNTP, getter_AddRefs(prefLocal));