зеркало из https://github.com/mozilla/gecko-dev.git
Don't warn when expected error path is taken. b=327052 r=darin sr=bz
This commit is contained in:
Родитель
97841b1891
Коммит
d5218ccc10
|
@ -629,7 +629,9 @@ nsPermissionManager::Read()
|
|||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
rv = NS_NewLocalFileInputStream(getter_AddRefs(fileInputStream), oldPermissionsFile);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
// An error path is expected when cookperm.txt is not found
|
||||
if (NS_FAILED(rv))
|
||||
return rv;
|
||||
|
||||
readingOldFile = PR_TRUE;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче