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>
-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) {
/a>June McEnroe 2018-08-26Add NetBSD to install.shJune McEnroe 2018-08-24Show hostname in title over SSHJune McEnroe 2018-08-23Alias bc='bc -l'June McEnroe 2018-08-20Update usage of scheme in READMEJune McEnroe 2018-08-20Use scheme.h in fbatt and fbclockJune McEnroe 2018-08-20Generate scheme.hJune McEnroe 2018-08-20Add dependencies on gfx.hJune McEnroe 2018-08-18Add Blondie — Heart of GlassJune McEnroe Why didn't I know about this song? I love it. 2018-08-18Set FCEDIT=$EDITORJune McEnroe 2018-08-18Only post commits with bodies to MastodonJune McEnroe 2018-08-18Run tf/cfg link script with /bin/shJune McEnroe 2018-08-18Run {,s,t}up with /bin/shJune McEnroe 2018-08-18Use whence instead of typeJune McEnroe type is an alias for whence -v and is more for human consumption. 2018-08-18Cut off path components until right prompt fitsJune McEnroe Keeps paths valid (from somehwere) rather than abrupt truncation. 2018-08-17Add "private" alias to source encrypted fileJune McEnroe Why is there no easy way to *edit* an encrypted file? 2018-08-17Add vim mapping to add a #includeJune McEnroe