diff options
author | Ruediger Meier | 2016-02-26 01:32:18 +0100 |
---|---|---|
committer | Ruediger Meier | 2016-02-29 13:04:54 +0100 |
commit | beabee7c67ba519feffcc0a242aa0a1714c61398 (patch) | |
tree | dd3ed5cab70c4331221fad619a8415d5e348cede | |
parent | fdisk: fix warning, incompatible pointer types passing 'uint64_t *' (diff) | |
download | kernel-qcow2-util-linux-beabee7c67ba519feffcc0a242aa0a1714c61398.tar.gz kernel-qcow2-util-linux-beabee7c67ba519feffcc0a242aa0a1714c61398.tar.xz kernel-qcow2-util-linux-beabee7c67ba519feffcc0a242aa0a1714c61398.zip |
libsmartcols: fix uninitialized variable
This got broken in 2a750b4c.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
-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 */ |