Skip to content

Commit

Permalink
fix var inizialization
Browse files Browse the repository at this point in the history
  • Loading branch information
long-walk authored Feb 11, 2024
1 parent 9025a64 commit e5e6628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/libdnf5-cli/output/transaction_table.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ bool print_transaction_table(Transaction & transaction) {
scols_cell_set_color(scols_line_get_cell(ln_reason, COL_NAME), replaced_color);
}

struct libscols_line * ln_pre;
struct libscols_line * ln_pre = nullptr;
for (auto & replaced : tspkg.get_replaces()) {
if (pkg.get_name() == replaced.get_name() && termwidth < single_line_min) {
ln_pre = scols_table_new_line(tb, ln);
Expand Down

0 comments on commit e5e6628

Please sign in to comment.