Fix a compile warning. b=399694 r+sr=dbaron a1.9=damons
authormats.palmgren@bredband.net
Sat, 15 Mar 2008 02:01:36 -0700
changeset 13116 daa70bbe4331e313eac7594b7cd6522856c9a6a6
parent 13115 e1625ca024da69c0d7012fd018b16f0854d400f7
child 13117 1ab3b484ba2cd658fa0fe755dda5be8d3bc734e0
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs399694
milestone1.9b5pre
Fix a compile warning. b=399694 r+sr=dbaron a1.9=damons
layout/base/nsCSSFrameConstructor.cpp
--- a/layout/base/nsCSSFrameConstructor.cpp
+++ b/layout/base/nsCSSFrameConstructor.cpp
@@ -8875,18 +8875,17 @@ PRBool NotifyListBoxBody(nsPresContext* 
           listBoxBodyFrame->OnContentInserted(aPresContext, aChild);
           return PR_TRUE;
         }
       }
     }
   }
 
   PRInt32 namespaceID;
-  nsIAtom* tag =
-    aDocument->BindingManager()->ResolveTag(aContainer, &namespaceID);
+  aDocument->BindingManager()->ResolveTag(aContainer, &namespaceID);
 
   // XBL form control cruft... should that really be testing that the
   // namespace is XUL?  Seems odd...
   if (aUseXBLForms && aContainer->GetParent() &&
       namespaceID == kNameSpaceID_XUL && ShouldIgnoreSelectChild(aContainer))
     return PR_TRUE;
 
   return PR_FALSE;