From 77972d26d300b45a944cd3e9a2f498a5ee95e507 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 20 Apr 2018 11:54:19 +1000 Subject: Backport: Remove test that is always true. Backport of changeset 6718:a2bd7f9f0c47. --- win32/PlatWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32') diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 9b86e30c7..75f883f24 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -1998,7 +1998,7 @@ public: } ListItemData Get(size_t index) const { - if (index >= 0 && index < data.size()) { + if (index < data.size()) { return data[index]; } else { ListItemData missing = {"", -1}; -- cgit v1.2.3