From d16b0b20716ee2459bd5632f49f01ec85a578e5a Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Mon, 19 Aug 2013 19:51:24 +0200 Subject: [PATCH] Drop double check for start < 0 Signed-off-by: Sven Strickroth --- src/Git/GitIndex.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Git/GitIndex.cpp b/src/Git/GitIndex.cpp index 5652e9ec0..3eaf56528 100644 --- a/src/Git/GitIndex.cpp +++ b/src/Git/GitIndex.cpp @@ -202,8 +202,6 @@ int CGitIndexList::GetFileStatus(const CString &gitdir, const CString &pathorg, else { int index = start; - if (index <0) - return -1; if (index >= (int)size()) return -1; -- 2.11.4.GIT