diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-11-01 08:58:34 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-11-01 08:58:34 +0100 |
| commit | 9b8664daf17dac9efb1f4add9d00c562e4ddbf40 (patch) | |
| tree | 6c3396be134996ee3ce75b0ff9a2eca09452104d /src/countries/nl.cpp | |
| parent | 60488d722bf29f3ff0ce3e08b90f30523a8d7b6d (diff) | |
fix tests
Diffstat (limited to 'src/countries/nl.cpp')
| -rw-r--r-- | src/countries/nl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/countries/nl.cpp b/src/countries/nl.cpp index c4abc9d..8a56e71 100644 --- a/src/countries/nl.cpp +++ b/src/countries/nl.cpp @@ -30,6 +30,7 @@ #include <math.h> #include "countries.hpp" +#include "memops.hpp" #include "strops.hpp" time_t _nl_get_default_invoice_expire_duration() @@ -172,6 +173,7 @@ static tax_rate _create_tax_rate(tax_rate_type type, char* internal_code, char* static tax_rate _create_tax_rate(tax_rate_type type, char* internal_code, float rate, ...) { tax_rate result; + memops::zero(&result, sizeof(tax_rate)); result.type = type; result.tax_section_count = 0; result.rate = rate; |
