From 2f05f5e2eb36e1f189c932f74ff784324f836dad Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 16 Mar 2020 00:24:03 +0100 Subject: [PATCH] Remove unnecessary commented out test This test remained since 902725eefee5a402d21d13b2630583ab28ae3931 but should have been simply removed back then, as we return if the item is null due to a test above. No real changes. --- src/generic/treectlg.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index 112894060e..948b8118b3 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -3790,8 +3790,7 @@ void wxGenericTreeCtrl::OnMouse( wxMouseEvent &event ) } // this facilitates multiple-item drag-and-drop - - if ( /* item && */ HasFlag(wxTR_MULTIPLE)) + if ( HasFlag(wxTR_MULTIPLE)) { wxArrayTreeItemIds selections; size_t count = GetSelections(selections);