Bug 1335983 - Followup to fix wError bustage that prompted a CLOSED TREE a=bustage
☠☠ backed out by cddb9e197d81 ☠ ☠
authorWes Kocher <wkocher@mozilla.com>
Tue, 07 Feb 2017 12:25:04 -0800
changeset 341293 5a9559ded976666b28e3cbd28c5ca4d0ebf7cff0
parent 341292 de2b0d90e2dafb22885e63e58a498525e340badc
child 341294 cddb9e197d816c2167bf49222e4b83745efce653
push id86684
push usercbook@mozilla.com
push dateWed, 08 Feb 2017 10:31:03 +0000
treeherdermozilla-inbound@c5b88e4e70f4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1335983
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1335983 - Followup to fix wError bustage that prompted a CLOSED TREE a=bustage
dom/xul/templates/nsXULContentUtils.cpp
--- a/dom/xul/templates/nsXULContentUtils.cpp
+++ b/dom/xul/templates/nsXULContentUtils.cpp
@@ -118,18 +118,16 @@ nsXULContentUtils::Finish()
 
     return NS_OK;
 }
 
 nsICollation*
 nsXULContentUtils::GetCollation()
 {
     if (!gCollation) {
-        nsresult rv;
-
         nsCOMPtr<nsICollationFactory> colFactory =
             do_CreateInstance(NS_COLLATIONFACTORY_CONTRACTID);
         if (colFactory) {
             rv = colFactory->CreateCollation(&gCollation);
             NS_ASSERTION(NS_SUCCEEDED(rv),
                          "couldn't create collation instance");
         } else
             NS_ERROR("couldn't create instance of collation factory");