fixed minor variable not initialized problem

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

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

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