diff --git a/layout/generic/nsFrame.cpp b/layout/generic/nsFrame.cpp index cdf7758dd1ca..0c78fa61da08 100644 --- a/layout/generic/nsFrame.cpp +++ b/layout/generic/nsFrame.cpp @@ -1059,7 +1059,6 @@ void nsDisplaySelectionOverlay::Paint(nsDisplayListBuilder* aBuilder, nsRenderingContext* aCtx) { LookAndFeel::ColorID colorID; - nsresult result; if (mSelectionValue == nsISelectionController::SELECTION_ON) { colorID = LookAndFeel::eColorID_TextSelectBackground; } else if (mSelectionValue == nsISelectionController::SELECTION_ATTENTION) {