[tbb-commits] [tor-browser] 06/179: Bug 1740677 - Remove MOZ_CRASH, r=necko-reviewers, dragana a=pascalc

gitolite role git at cupani.torproject.org
Fri Aug 19 08:35:03 UTC 2022


This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch tor-browser-102.2.0esr-12.0-1
in repository tor-browser.

commit 80d718bc91f60f8a475c068ff1f3dd1b09e21f75
Author: Kershaw Chang <kershaw at mozilla.com>
AuthorDate: Thu Jun 16 08:01:52 2022 +0000

    Bug 1740677 - Remove MOZ_CRASH, r=necko-reviewers,dragana a=pascalc
    
    Differential Revision: https://phabricator.services.mozilla.com/D148632
---
 netwerk/dns/TRRService.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/netwerk/dns/TRRService.cpp b/netwerk/dns/TRRService.cpp
index 837a147521a1d..56e4c9cd32a10 100644
--- a/netwerk/dns/TRRService.cpp
+++ b/netwerk/dns/TRRService.cpp
@@ -1018,10 +1018,8 @@ TRRService::ConfirmationContext::Notify(nsITimer* aTimer) {
   MutexSingleWriterAutoLock lock(OwningObject()->mLock);
   if (aTimer == mTimer) {
     HandleEvent(ConfirmationEvent::Retry, lock);
-    return NS_OK;
   }
 
-  MOZ_CRASH("Unknown timer");
   return NS_OK;
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list