diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-15 14:15:34 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-15 14:15:34 +0200 |
commit | 0a74c9cd713c49cf9bc071ec6758425a1464518c (patch) | |
tree | 7d4a97b4fe65934143a2a619400bf49fb9ea49d1 /src/backend/taler-merchant-httpd_private-post-orders.c | |
parent | eec18999238cf247043e9f9c093b5bcfa1eb87ea (diff) | |
download | merchant-0a74c9cd713c49cf9bc071ec6758425a1464518c.tar.gz merchant-0a74c9cd713c49cf9bc071ec6758425a1464518c.tar.bz2 merchant-0a74c9cd713c49cf9bc071ec6758425a1464518c.zip |
change to remove compiler warnings for switch() cases that cannot really happen
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-orders.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-orders.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c index 33883f5f..0e06f7fa 100644 --- a/src/backend/taler-merchant-httpd_private-post-orders.c +++ b/src/backend/taler-merchant-httpd_private-post-orders.c @@ -928,8 +928,8 @@ merge_inventory (struct MHD_Connection *connection, &pd); if (qs <= 0) { - enum TALER_ErrorCode ec; - unsigned int http_status; + enum TALER_ErrorCode ec = TALER_EC_INTERNAL_INVARIANT_FAILURE; + unsigned int http_status = 0; switch (qs) { |