int rc;
DBG(TAB, ul_debugobj(tb, "initialize printing"));
+ *buf = NULL;
if (!tb->symbols) {
rc = scols_table_set_default_symbols(tb);
struct libscols_line *start,
struct libscols_line *end)
{
- struct libscols_buffer *buf;
+ struct libscols_buffer *buf = NULL;
struct libscols_iter itr;
int rc;
static int __scols_print_table(struct libscols_table *tb, int *is_empty)
{
int rc = 0;
- struct libscols_buffer *buf;
+ struct libscols_buffer *buf = NULL;
if (!tb)
return -EINVAL;