[PATCH 1/1] ui-repolist: remove unused variable

John Keeping john at keeping.me.uk
Sat Jul 22 13:10:20 CEST 2017


On Tue, Jun 06, 2017 at 04:14:47PM +0200, Christian Hesse wrote:
> From: Christian Hesse <mail at eworm.de>
> 
> Signed-off-by: Christian Hesse <mail at eworm.de>

Reviewed-by: John Keeping <john at keeping.me.uk>
Fixes: 87c4748 (ui-repolist: properly sort by age, 2017-03-30)

> ---
>  ui-repolist.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> 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) {
> -- 
> 2.13.1


More information about the CGit mailing list