summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-10-22 13:36:20 +0200
committerChristian Grothoff <christian@grothoff.org>2022-10-22 13:36:20 +0200
commit8bb4c5a07e4af4fec5c21f4741f10d6fc57085c3 (patch)
treea4c821838a8409e049ae1582a8cc9e63daa80d5c
parentb9df9447a742d476c9863d8b886df1489eee4749 (diff)
downloadtaler-mdb-8bb4c5a07e4af4fec5c21f4741f10d6fc57085c3.tar.gz
taler-mdb-8bb4c5a07e4af4fec5c21f4741f10d6fc57085c3.tar.bz2
taler-mdb-8bb4c5a07e4af4fec5c21f4741f10d6fc57085c3.zip
-initialize sold_out field
-rw-r--r--src/taler-mdb.c4
1 files changed, 3 insertions, 1 deletions
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;