From 8bb4c5a07e4af4fec5c21f4741f10d6fc57085c3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 22 Oct 2022 13:36:20 +0200 Subject: -initialize sold_out field --- src/taler-mdb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/taler-mdb.c b/src/taler-mdb.c index 58cc89f..585563d 100644 --- 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; -- cgit v1.2.3