Fix uninitialized variable

This commit is contained in:
Nico von Geyso
2012-11-28 18:13:56 +01:00
parent a511f299bb
commit e4097c5de5

View File

@@ -81,7 +81,7 @@ static int diff_hunk_cb(
PyObject *hunks; PyObject *hunks;
Hunk *hunk; Hunk *hunk;
int len; int len;
char* old_path, *new_path; char* old_path = NULL, *new_path = NULL;
char oid[GIT_OID_HEXSZ]; char oid[GIT_OID_HEXSZ];