Bug 394984: Followup to remove an unused variable.
authorStephen A Pohl <spohl.mozilla.bugs@gmail.com>
Thu, 30 Jul 2015 20:44:13 -0400
changeset 491465 3e446cc3c991d0db502869fbde936fdf912d1e46
parent 491464 007f2a7df4837f6d19b0b72e5f86675ec8aaabc4
child 491466 f0bf838de258be1a5e78e280e07eb4ff47880abf
push id47343
push userbmo:dothayer@mozilla.com
push dateWed, 01 Mar 2017 22:58:58 +0000
bugs394984
milestone42.0a1
Bug 394984: Followup to remove an unused variable.
toolkit/xre/MacLaunchHelper.mm
--- a/toolkit/xre/MacLaunchHelper.mm
+++ b/toolkit/xre/MacLaunchHelper.mm
@@ -103,17 +103,16 @@ BOOL InstallPrivilegedHelper()
   if (status != errAuthorizationSuccess) {
     // AuthorizationCreate really shouldn't fail.
     NSLog(@"AuthorizationCreate failed! NSOSStatusErrorDomain / %d",
           (int)status);
     return NO;
   }
 
   BOOL result = NO;
-  NSError* error = nil;
   AuthorizationItem authItem    = { kSMRightBlessPrivilegedHelper, 0, NULL, 0 };
   AuthorizationRights authRights  = { 1, &authItem };
   AuthorizationFlags flags    = kAuthorizationFlagDefaults |
                                 kAuthorizationFlagInteractionAllowed |
                                 kAuthorizationFlagPreAuthorize |
                                 kAuthorizationFlagExtendRights;
 
   // Obtain the right to install our privileged helper tool.