diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-06-15 22:07:10 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-06-15 22:07:10 +0200 |
commit | eb354680b45f167ded8b9a6a01090f34d88775f3 (patch) | |
tree | bcc2f6c6f019e7ddfecb4cc73249f97553ef20a7 /src/bank-lib | |
parent | b874a4c39b56323a48b2af4c0032af7d800647e7 (diff) |
fix compiler warning due to possibly unknown switch enum values being handled poorly
Diffstat (limited to 'src/bank-lib')
-rw-r--r-- | src/bank-lib/bank_api_common.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bank-lib/bank_api_common.c b/src/bank-lib/bank_api_common.c index e68ba41b5..738d2a5b8 100644 --- 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. * |