From 54db1a18df8baca4e53be24a4bf8593d94abbd49 Mon Sep 17 00:00:00 2001 From: Michael Schubert Date: Sat, 19 May 2012 13:20:55 +0200 Subject: Cleanup * indexer: remove leftover printf * commit: remove unused macros COMMIT_BASIC_PARSE, COMMIT_FULL_PARSE and COMMIT_PRINT --- src/commit.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/commit.c') diff --git a/src/commit.c b/src/commit.c index 2bf12f3a5..2f40dc67d 100644 --- a/src/commit.c +++ b/src/commit.c @@ -18,15 +18,6 @@ #include -#define COMMIT_BASIC_PARSE 0x0 -#define COMMIT_FULL_PARSE 0x1 - -#define COMMIT_PRINT(commit) {\ - char oid[41]; oid[40] = 0;\ - git_oid_fmt(oid, &commit->object.id);\ - printf("Oid: %s | In degree: %d | Time: %u\n", oid, commit->in_degree, commit->commit_time);\ -} - static void clear_parents(git_commit *commit) { unsigned int i; -- cgit v1.2.3