Remove changed fixed in other branch

This commit is contained in:
Michael Boulton 2020-08-14 11:12:33 +01:00
parent 315a4855f1
commit 87433ff8a8
No known key found for this signature in database
GPG Key ID: 8A62CA0BE2E0197E
1 changed files with 0 additions and 3 deletions

View File

@ -86,9 +86,6 @@ func (statusList *StatusList) ByIndex(index int) (StatusEntry, error) {
return StatusEntry{}, ErrInvalid
}
ptr := C.git_status_byindex(statusList.ptr, C.size_t(index))
if ptr == nil {
return StatusEntry{}, MakeGitError(C.int(ErrNotFound))
}
entry := statusEntryFromC(ptr)
runtime.KeepAlive(statusList)