From 494ae940a07831fd1ce318f6fd0f04738bfc2fe5 Mon Sep 17 00:00:00 2001 From: nulltoken Date: Mon, 2 Jul 2012 17:51:02 +0200 Subject: revparse: fix parsing of date specifiers --- src/util.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index eed2bc80c..adc665027 100644 --- a/src/util.h +++ b/src/util.h @@ -209,13 +209,6 @@ GIT_INLINE(bool) git__isspace(int c) return (c == ' ' || c == '\t' || c == '\n' || c == '\f' || c == '\r' || c == '\v'); } -GIT_INLINE(int) git__time_cmp(const git_time *a, const git_time *b) -{ - /* Adjust for time zones. Times are in seconds, offsets are in minutes. */ - git_time_t adjusted_a = a->time + ((b->offset - a->offset) * 60); - return (int)(adjusted_a - b->time); -} - GIT_INLINE(bool) git__iswildcard(int c) { return (c == '*' || c == '?' || c == '['); -- cgit v1.2.3