Skip to content

Commit

Permalink
Fix uninitialized variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico von Geyso authored and Nico von Geyso committed Nov 28, 2012
1 parent a511f29 commit e4097c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pygit2/diff.c
Expand Up @@ -81,7 +81,7 @@ static int diff_hunk_cb(
PyObject *hunks;
Hunk *hunk;
int len;
char* old_path, *new_path;
char* old_path = NULL, *new_path = NULL;
char oid[GIT_OID_HEXSZ];


Expand Down

0 comments on commit e4097c5

Please sign in to comment.