Bug 43178 followup: remove unused variable 'tableStyle' in nsHTMLTableElement.cpp. rs=bernd
authorDaniel Holbert <dholbert@cs.stanford.edu>
Fri, 05 Mar 2010 10:41:57 -0800
changeset 38997 0b8ddbe14c06d59ad88f81fdae54e4895ad4e2bc
parent 38996 5cb8340929b87b4969d772f4ae98028a961f2afd
child 38998 5feacacc0d09b3f24b2faf6c181fa5f6da4a4e2f
push idunknown
push userunknown
push dateunknown
reviewersbernd
bugs43178
milestone1.9.3a3pre
Bug 43178 followup: remove unused variable 'tableStyle' in nsHTMLTableElement.cpp. rs=bernd
content/html/content/src/nsHTMLTableElement.cpp
--- a/content/html/content/src/nsHTMLTableElement.cpp
+++ b/content/html/content/src/nsHTMLTableElement.cpp
@@ -1194,17 +1194,16 @@ MapAttributesIntoRule(const nsMappedAttr
   }
   if (aData->mSIDs & NS_STYLE_INHERIT_BIT(Visibility)) {
     const nsStyleDisplay* readDisplay = aData->mStyleContext->GetStyleDisplay();
   
     if (readDisplay->mDisplay != NS_STYLE_DISPLAY_TABLE_CELL)
       nsGenericHTMLElement::MapCommonAttributesInto(aAttributes, aData);
   }
   if (aData->mSIDs & NS_STYLE_INHERIT_BIT(Border)) {
-    const nsStyleTableBorder* tableStyle = aData->mStyleContext->GetStyleTableBorder();
     const nsStyleDisplay* readDisplay = aData->mStyleContext->GetStyleDisplay();
     if (readDisplay->mDisplay != NS_STYLE_DISPLAY_TABLE_CELL) {
       // bordercolor
       const nsAttrValue* value = aAttributes->GetAttr(nsGkAtoms::bordercolor);
       nscolor color;
       if (value && presContext->UseDocumentColors() &&
           value->GetColorValue(color)) {
         if (aData->mMarginData->mBorderColor.mLeft.GetUnit() == eCSSUnit_Null)