[PATCH 10/12] libsmartcols: remove ununsed assignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Value stored to 'rc' is never read.

Signed-off-by: Sami Kerola <kerolasa@xxxxxx>
---
 libsmartcols/src/table_print.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libsmartcols/src/table_print.c b/libsmartcols/src/table_print.c
index 2942053..4df587e 100644
--- a/libsmartcols/src/table_print.c
+++ b/libsmartcols/src/table_print.c
@@ -739,7 +739,7 @@ int scols_print_table(struct libscols_table *tb)
 		return -ENOMEM;
 
 	if (!(scols_table_is_raw(tb) || scols_table_is_export(tb)))
-		rc = recount_widths(tb, buf);
+		recount_widths(tb, buf);
 
 	if (scols_table_is_tree(tb))
 		rc = print_tree(tb, buf);
-- 
1.9.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




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux