diff options
author | Ruediger Meier <ruediger.meier@ga-group.nl> | 2016-02-26 01:32:18 +0100 |
---|---|---|
committer | Ruediger Meier <ruediger.meier@ga-group.nl> | 2016-02-29 13:04:54 +0100 |
commit | beabee7c67ba519feffcc0a242aa0a1714c61398 (patch) | |
tree | dd3ed5cab70c4331221fad619a8415d5e348cede /libsmartcols | |
parent | 262c94c2c72a59c51d41f25a94ce50363591e6a3 (diff) | |
download | util-linux-beabee7c67ba519feffcc0a242aa0a1714c61398.tar.gz |
libsmartcols: fix uninitialized variable
This got broken in 2a750b4c.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libsmartcols')
-rw-r--r-- | libsmartcols/src/table_print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsmartcols/src/table_print.c b/libsmartcols/src/table_print.c index d1dcb65bd..510386ec8 100644 --- a/libsmartcols/src/table_print.c +++ b/libsmartcols/src/table_print.c @@ -1281,7 +1281,7 @@ static int initialize_printting(struct libscols_table *tb, struct libscols_buffe scols_reset_iter(&itr, SCOLS_ITER_FORWARD); - while (rc == 0 && scols_table_next_column(tb, &itr, &cl) == 0) { + while (scols_table_next_column(tb, &itr, &cl) == 0) { if (scols_column_is_hidden(cl)) continue; extra_bufsz += strlen(scols_cell_get_data(&cl->header)); /* data */ |