Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- login-utils/utmpdump.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/login-utils/utmpdump.c b/login-utils/utmpdump.c index 02e13ea88..fb07e19d0 100644 --- a/login-utils/utmpdump.c +++ b/login-utils/utmpdump.c @@ -268,7 +268,6 @@ static void undump(FILE *in, FILE *out) { struct utmpx ut; char s_addr[INET6_ADDRSTRLEN + 1], s_time[29], *linestart, *line; - int count = 0; linestart = xmalloc(1024 * sizeof(*linestart)); s_time[28] = 0; @@ -293,8 +292,6 @@ static void undump(FILE *in, FILE *out) ut.ut_tv.tv_usec = strtousec(s_time); ignore_result( fwrite(&ut, sizeof(ut), 1, out) ); - - ++count; } free(linestart); -- 2.12.2 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html