exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit eb354680b45f167ded8b9a6a01090f34d88775f3
parent b874a4c39b56323a48b2af4c0032af7d800647e7
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 15 Jun 2017 22:07:10 +0200

fix compiler warning due to possibly unknown switch enum values being handled poorly

Diffstat:
Msrc/bank-lib/bank_api_common.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/bank-lib/bank_api_common.c b/src/bank-lib/bank_api_common.c @@ -80,13 +80,12 @@ TALER_BANK_make_auth_header_ (const struct TALER_BANK_AuthenticationData *auth) authh = append (authh, "X-Taler-Bank-Password", auth->details.basic.password); - break; + return authh; } - return authh; + return NULL; } - /** * Obtain the URL to use for an API request. *