commit d0a743179c182aa22e0d88e6f50ae12686999f29
parent 21f360cbed6df4b626ed19b1b0e2268ec94d114f
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 23 Jul 2021 14:30:43 +0200
-fix compiler warning
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c
@@ -1060,7 +1060,6 @@ patch_order (struct MHD_Connection *connection,
MHD_HTTP_INTERNAL_SERVER_ERROR,
TALER_EC_GENERIC_FAILED_COMPUTE_JSON_HASH,
"could not compute hash of patched order");
-
case GNUNET_NO:
GNUNET_break_op (0);
return TALER_MHD_reply_with_error (
@@ -1068,6 +1067,8 @@ patch_order (struct MHD_Connection *connection,
MHD_HTTP_BAD_REQUEST,
TALER_EC_GENERIC_FAILED_COMPUTE_JSON_HASH,
"order contained unallowed values");
+ case GNUNET_OK:
+ break;
}
}
return execute_order (connection,