summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-07-23 14:30:43 +0200
committerChristian Grothoff <christian@grothoff.org>2021-07-23 14:30:43 +0200
commitd0a743179c182aa22e0d88e6f50ae12686999f29 (patch)
tree6632a4e70d3060808a2a626e08146d859c88773b
parent21f360cbed6df4b626ed19b1b0e2268ec94d114f (diff)
downloadmerchant-d0a743179c182aa22e0d88e6f50ae12686999f29.tar.gz
merchant-d0a743179c182aa22e0d88e6f50ae12686999f29.tar.bz2
merchant-d0a743179c182aa22e0d88e6f50ae12686999f29.zip
-fix compiler warning
-rw-r--r--src/backend/taler-merchant-httpd_private-post-orders.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c
index 9c468104..63eff40e 100644
--- 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,