зеркало из https://github.com/mozilla/pjs.git
Bug 384958 - DM needlessly checks return variable of GetDBConnection. Patch by Ryan Jones <sciguyryan@gmail.com>. r=sdwilsh
This commit is contained in:
Родитель
2f5dc24a10
Коммит
5537c2e3bc
|
@ -953,9 +953,8 @@ nsDownloadManager::OpenDownloadManager(PRBool aShouldFocus,
|
|||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
nsCOMPtr<mozIStorageConnection> DBConn;
|
||||
rv = dlMgr->GetDBConnection(getter_AddRefs(DBConn));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
(void)dlMgr->GetDBConnection(getter_AddRefs(DBConn));
|
||||
|
||||
params->AppendElement(DBConn, PR_FALSE);
|
||||
params->AppendElement(aDownload, PR_FALSE);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче