diff --git a/mozilla/layout/generic/nsHTMLReflowState.cpp b/mozilla/layout/generic/nsHTMLReflowState.cpp
index bfa1dc550ce..3e0d92bdbad 100644
--- a/mozilla/layout/generic/nsHTMLReflowState.cpp
+++ b/mozilla/layout/generic/nsHTMLReflowState.cpp
@@ -876,8 +876,6 @@ nsHTMLReflowState::CalculateHypotheticalBox(nsIPresContext* aPresContext,
// the placeholder
aHypotheticalBox.mTop = lineBox->mBounds.YMost();
} else {
- nsPoint placeholderOffset;
-
// Just use the placeholder's y-offset
aHypotheticalBox.mTop = placeholderOffset.y;
}
diff --git a/mozilla/layout/html/base/src/nsHTMLReflowState.cpp b/mozilla/layout/html/base/src/nsHTMLReflowState.cpp
index bfa1dc550ce..3e0d92bdbad 100644
--- a/mozilla/layout/html/base/src/nsHTMLReflowState.cpp
+++ b/mozilla/layout/html/base/src/nsHTMLReflowState.cpp
@@ -876,8 +876,6 @@ nsHTMLReflowState::CalculateHypotheticalBox(nsIPresContext* aPresContext,
// the placeholder
aHypotheticalBox.mTop = lineBox->mBounds.YMost();
} else {
- nsPoint placeholderOffset;
-
// Just use the placeholder's y-offset
aHypotheticalBox.mTop = placeholderOffset.y;
}