aboutsummaryrefslogtreecommitdiff
path: root/src/sq/sq_result_helper.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-19 10:57:27 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-19 10:57:27 +0100
commitbdaaa0f6cb8f99168ed9916064a5e4145426480c (patch)
treebd8e37886cbc6356a00d5a0592d99f30f0b2f3c9 /src/sq/sq_result_helper.c
parentdff5510dd36059a567d1110da870cc79bd508f70 (diff)
-fix misc. compiler warnings
Diffstat (limited to 'src/sq/sq_result_helper.c')
-rw-r--r--src/sq/sq_result_helper.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/sq/sq_result_helper.c b/src/sq/sq_result_helper.c
index bc52913b5..7cd8e80b4 100644
--- a/src/sq/sq_result_helper.c
+++ b/src/sq/sq_result_helper.c
@@ -113,11 +113,15 @@ extract_amount_nbo (void *cls,
struct TALER_AmountNBO *amount = dst;
struct TALER_Amount amount_hbo;
size_t amount_hbo_size = sizeof (struct TALER_Amount);
- if (GNUNET_YES != extract_amount (cls,
- result,
- column,
- &amount_hbo_size,
- &amount_hbo))
+
+ (void) cls;
+ (void) dst_size;
+ if (GNUNET_YES !=
+ extract_amount (cls,
+ result,
+ column,
+ &amount_hbo_size,
+ &amount_hbo))
{
GNUNET_break (0);
return GNUNET_SYSERR;