From 5a9ce576a23296b395aa214f332f5755180e9a05 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 24 May 2015 02:00:34 +0200 Subject: [PATCH] No changes, just remove an unused variable. Get rid of the g++ warning about it. --- src/richtext/richtextbuffer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/richtext/richtextbuffer.cpp b/src/richtext/richtextbuffer.cpp index 8d7526a0d9..4438b1256c 100644 --- a/src/richtext/richtextbuffer.cpp +++ b/src/richtext/richtextbuffer.cpp @@ -2407,7 +2407,6 @@ bool wxRichTextParagraphLayoutBox::Layout(wxDC& dc, wxRichTextDrawingContext& co // Check the bottom edge of any floating object if (wxRichTextBuffer::GetFloatingLayoutMode() && GetFloatCollector() && GetFloatCollector()->HasFloats()) { - int bottom = GetFloatCollector()->GetLastRectBottom(); // The floating objects are positioned relative to entire buffer, not this box int maxFloatHeight = GetFloatCollector()->GetLastRectBottom() - GetPosition().y - topMargin; if (maxFloatHeight > maxHeight)