From e777c01f439a7367cede010ff2e07a9711b07892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Fri, 3 Feb 2017 12:18:14 +0100 Subject: [PATCH] * src/progress.c: Remove unused macro move_to_end --- src/progress.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/progress.c b/src/progress.c index c635d195..f44e0eef 100644 --- a/src/progress.c +++ b/src/progress.c @@ -892,11 +892,6 @@ get_eta (int *bcd) p += sizeof (s) - 1; \ } while (0) -/* Use move_to_end (s) to get S to point the end of the string (the - terminating \0). This is faster than s+=strlen(s), but some people - are confused when they see strchr (s, '\0') in the code. */ -#define move_to_end(s) s = strchr (s, '\0'); - static void create_image (struct bar_progress *bp, double dl_total_time, bool done) {