taler-mdb

GNU Taler Extensions and Integrations
Log | Files | Refs | Submodules | README | LICENSE

commit 8bb4c5a07e4af4fec5c21f4741f10d6fc57085c3
parent b9df9447a742d476c9863d8b886df1489eee4749
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 22 Oct 2022 13:36:20 +0200

-initialize sold_out field

Diffstat:
Msrc/taler-mdb.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/taler-mdb.c b/src/taler-mdb.c @@ -2804,7 +2804,9 @@ read_products (void *cls, const char *section) { const struct GNUNET_CONFIGURATION_Handle *cfg = cls; - struct Product tmpProduct; + struct Product tmpProduct = { + .sold_out = false + }; char *tmpKey; char *thumbnail_fn;