Diff options
Diffstat (limited to '')
| -rw-r--r-- | source/ui-repolist.c | 3 |
1 file changed, 1 insertion, 2 deletions
diff --git a/source/ui-repolist.c b/source/ui-repolist.c index 001e51b..4e4f61b 100644 --- a/source/ui-repolist.c +++ b/source/ui-repolist.c @@ -27,11 +27,10 @@ struct sort_column { static time_t read_agefile(const char *path) { time_t result; - size_t size; char *buf = NULL; struct strbuf date = STRBUF_INIT; - if (cgit_read_first_line(path, &buf, &size)) { + if (cgit_read_first_line(path, &buf)) { free(buf); return 0; } |
