summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--ui-repolist.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 573c730..e5c6c20 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -5,25 +5,24 @@
* Licensed under GNU General Public License v2
* (see COPYING for full license text)
*/
#include "cgit.h"
#include <time.h>
time_t read_agefile(char *path)
{
FILE *f;
static char buf[64], buf2[64];
- struct tm tm;
if (!(f = fopen(path, "r")))
return -1;
fgets(buf, sizeof(buf), f);
fclose(f);
if (parse_date(buf, buf2, sizeof(buf2)))
return strtoul(buf2, NULL, 10);
else
return 0;
}
static void print_modtime(struct repoinfo *repo)