From 4d99e1a61f5997aa8b68582dde2aca5f86de9c35 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 20 Apr 2018 11:54:19 +1000 Subject: Remove test that is always true. --- win32/PlatWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 6f3aeea1c..a74a21238 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -1997,7 +1997,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