More bustage fix for Bug 380250 (declaring rv)

This commit is contained in:
sdwilsh@shawnwilsher.com 2007-05-21 17:41:11 -07:00
parent 222758b9ee
commit 6812ee6ef3

View File

@ -1413,6 +1413,7 @@ nsDownload::OnStateChange(nsIWebProgress* aWebProgress,
LPSHELLFOLDER lpShellFolder = NULL;
if (SUCCEEDED(::SHGetDesktopFolder(&lpShellFolder))) {
nsresult rv;
nsCOMPtr<nsIFileURL> fileURL = do_QueryInterface(mTarget, &rv);
NS_ENSURE_SUCCESS(rv, rv);