зеркало из https://github.com/mozilla/pjs.git
fixed minor variable not initialized problem
This commit is contained in:
Родитель
9a548ee21d
Коммит
163bdb990a
|
@ -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);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче