From 71b1d98e2357baf30c26817fbcd377949163c5f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Fri, 21 Feb 2020 01:21:42 +0100 Subject: [PATCH] Bug 1615142 - Fix gcc builds that error because of an unused variable. Meh. MANUAL PUSH: Fuzzing build bustage fix. CLOSED TREE --- layout/generic/nsFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/generic/nsFrame.cpp b/layout/generic/nsFrame.cpp index 4355863e6bfd..325889e92ce5 100644 --- a/layout/generic/nsFrame.cpp +++ b/layout/generic/nsFrame.cpp @@ -8491,7 +8491,7 @@ static nsContentAndOffset FindLineBreakingFrame(nsIFrame* aFrame, // Treat form controls as inline leaves // XXX we really need a way to determine whether a frame is inline-level - if (nsIFormControlFrame* fcf = do_QueryFrame(aFrame)) { + if (static_cast(do_QueryFrame(aFrame))) { return result; }