commit f0d2f88f4c0d64399ebee18ee7f37b0315d63c0d
parent baee9a82c8d856d5eeb4567bbc45d621d60eb58f
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 29 Jul 2026 20:02:56 +0200
fix warning
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/stasis/get_recdoc_payment.c b/src/stasis/get_recdoc_payment.c
@@ -47,8 +47,6 @@ ANASTASIS_DB_get_recdoc_payment (
GNUNET_PQ_query_param_auto_from_type (payment_secret),
GNUNET_PQ_query_param_end
};
-
- *creation_date = GNUNET_TIME_UNIT_ZERO_TS;
struct GNUNET_PQ_ResultSpec rs[] = {
GNUNET_PQ_result_spec_bool ("paid",
paid),
@@ -59,6 +57,7 @@ ANASTASIS_DB_get_recdoc_payment (
GNUNET_PQ_result_spec_end
};
+ *creation_date = GNUNET_TIME_UNIT_ZERO_TS;
PREPARE ("get_recdoc_payment",
"SELECT"
" creation_date"