fixed minor variable not initialized problem

This commit is contained in:
jefft%netscape.com 1999-07-13 20:15:45 +00:00
Родитель 9a548ee21d
Коммит 163bdb990a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -160,7 +160,7 @@ nsNewsURI2Path(const char* rootURI, const char* uriStr, nsFileSpec& pathResult)
rv = nsGetNewsServer(username.GetBuffer(), rv = nsGetNewsServer(username.GetBuffer(),
hostname.GetBuffer(), getter_AddRefs(server)); hostname.GetBuffer(), getter_AddRefs(server));
// now ask the server what it's root is // now ask the server what it's root is
char *localPath; char *localPath = nsnull;
if (NS_SUCCEEDED(rv)) if (NS_SUCCEEDED(rv))
rv = server->GetLocalPath(&localPath); rv = server->GetLocalPath(&localPath);