Fix compilation warning on unused variable
This commit is contained in:
1
pygit2.c
1
pygit2.c
@@ -1568,7 +1568,6 @@ IndexEntry_dealloc(IndexEntry *self) {
|
|||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
IndexEntry_get_sha(IndexEntry *self) {
|
IndexEntry_get_sha(IndexEntry *self) {
|
||||||
const git_oid *id;
|
|
||||||
char hex[GIT_OID_HEXSZ];
|
char hex[GIT_OID_HEXSZ];
|
||||||
|
|
||||||
git_oid_fmt(hex, &self->entry->oid);
|
git_oid_fmt(hex, &self->entry->oid);
|
||||||
|
Reference in New Issue
Block a user