diff --git a/accessible/xul/XULFormControlAccessible.cpp b/accessible/xul/XULFormControlAccessible.cpp index ca9039c5ff2..d52ce232164 100644 --- a/accessible/xul/XULFormControlAccessible.cpp +++ b/accessible/xul/XULFormControlAccessible.cpp @@ -226,7 +226,6 @@ XULDropmarkerAccessible::DropmarkerOpen(bool aToggleOpen) const nsIContent* parent = mContent->GetFlattenedTreeParent(); - bool foundRightElement = false; while (parent) { nsCOMPtr parentButtonElement = do_QueryInterface(parent);