mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix another uninitialized variable in register.
Found by clang static analyzer.
This commit is contained in:
@@ -721,7 +721,7 @@ void
|
||||
gnc_entry_ledger_compute_value (GncEntryLedger *ledger,
|
||||
gnc_numeric *value, gnc_numeric *tax_value)
|
||||
{
|
||||
gnc_numeric qty, price = gnc_numeric_zero(), discount = gnc_numeric_zero();
|
||||
gnc_numeric qty = gnc_numeric_zero(), price = gnc_numeric_zero(), discount = gnc_numeric_zero();
|
||||
gint disc_type, disc_how;
|
||||
gboolean taxable, taxincluded;
|
||||
GncTaxTable *table;
|
||||
|
||||
Reference in New Issue
Block a user