From 045e7efabd4a631ee3d5f2608bf2aba65e9eb222 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 14 Jul 2020 12:32:56 +0200 Subject: [PATCH] libsmartcols: (sample) remove unused variable Signed-off-by: Karel Zak --- libsmartcols/samples/fromfile.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libsmartcols/samples/fromfile.c b/libsmartcols/samples/fromfile.c index 4bc03f3de..3b09a09db 100644 --- a/libsmartcols/samples/fromfile.c +++ b/libsmartcols/samples/fromfile.c @@ -134,7 +134,6 @@ static int parse_column_data(FILE *f, struct libscols_table *tb, int col) size_t len = 0, nlines = 0; int i; char *str = NULL; - int rc; while ((i = getline(&str, &len, f)) != -1) {