about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@lfos.de>2017-04-05 06:38:27 +0200
committerLukas Fleischer <lfleischer@lfos.de>2017-04-05 06:38:39 +0200
commit7ebdb30fdf91d1f63b4fb07e54b089136de5507b (patch)
tree27866ae9b3ea99a1dfcad56bb06af4d35527bf0c
parentui-repolist: properly sort by age (diff)
downloadcgit-pink-7ebdb30fdf91d1f63b4fb07e54b089136de5507b.tar.gz
cgit-pink-7ebdb30fdf91d1f63b4fb07e54b089136de5507b.zip
Remove unused variable from sort_section()
Signed-off-by: Lukas Fleischer <lfleischer@lfos.de>
Diffstat (limited to '')
-rw-r--r--ui-repolist.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 20a4f56..7272e87 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -225,7 +225,6 @@ static int sort_section(const void *a, const void *b)
 	const struct cgit_repo *r1 = a;
 	const struct cgit_repo *r2 = b;
 	int result;
-	time_t t;
 
 	result = cmp(r1->section, r2->section);
 	if (!result) {