Fix compilation warning on unused variable

This commit is contained in:
J. David Ibañez
2011-02-09 15:22:38 +01:00
parent f643037b79
commit f287cea350

View File

@@ -1568,7 +1568,6 @@ IndexEntry_dealloc(IndexEntry *self) {
static PyObject *
IndexEntry_get_sha(IndexEntry *self) {
const git_oid *id;
char hex[GIT_OID_HEXSZ];
git_oid_fmt(hex, &self->entry->oid);