about summary refs log tree commit diff stats
path: root/ui-repolist.c
diff options
context:
space:
mode:
authorLukas Fleischer2017-04-05 06:38:27 +0200
committerLukas Fleischer2017-04-05 06:38:39 +0200
commit7ebdb30fdf91d1f63b4fb07e54b089136de5507b (patch)
tree27866ae9b3ea99a1dfcad56bb06af4d35527bf0c /ui-repolist.c
parentui-repolist: properly sort by age (diff)
downloadcgit-7ebdb30fdf91d1f63b4fb07e54b089136de5507b.tar.gz
cgit-7ebdb30fdf91d1f63b4fb07e54b089136de5507b.zip
Remove unused variable from sort_section()
Signed-off-by: Lukas Fleischer <lfleischer@lfos.de>
Diffstat (limited to 'ui-repolist.c')
-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)
225 const struct cgit_repo *r1 = a; 225 const struct cgit_repo *r1 = a;
226 const struct cgit_repo *r2 = b; 226 const struct cgit_repo *r2 = b;
227 int result; 227 int result;
228 time_t t;
229 228
230 result = cmp(r1->section, r2->section); 229 result = cmp(r1->section, r2->section);
231 if (!result) { 230 if (!result) {