commit 6fad634b7a4895ec1c8e911cb7a57ecf062dda10 from: Stefan Sperling date: Thu Jun 21 21:39:50 2018 UTC remove left-over debug code commit - d157810fc8eed7b3b5b84ea214e7d9d95863e7d0 commit + 6fad634b7a4895ec1c8e911cb7a57ecf062dda10 blob - 933ef189e913efdb7831787569b32f5139f2eaea blob + 6753bf20a87ddd82647b112b845b1d051f7f9dd5 --- lib/blame.c +++ lib/blame.c @@ -148,11 +148,6 @@ blame_commit(struct got_blame *blame, struct got_objec if (changes) { struct got_diff_change *change; - char *id_str; - err = got_object_id_str(&id_str, id); - if (err) - goto done; - SIMPLEQ_FOREACH(change, &changes->entries, entry) { int a = change->cv.a; int b = change->cv.b; @@ -160,7 +155,6 @@ blame_commit(struct got_blame *blame, struct got_objec for (lineno = a; lineno <= b; lineno++) annotate_line(blame, lineno, id); } - free(id_str); } done: if (obj)