]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libsmartcols: (sample) remove unused variable
authorKarel Zak <kzak@redhat.com>
Tue, 14 Jul 2020 10:32:56 +0000 (12:32 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 14 Jul 2020 10:32:56 +0000 (12:32 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/samples/fromfile.c

index 4bc03f3de196d1564e51583f2a66d22ca07865f1..3b09a09dbcbf37443c122acb07e32d051513fa98 100644 (file)
@@ -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) {