[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] 02/03: fix compiler warning due to possibl
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] 02/03: fix compiler warning due to possibly unknown switch enum values being handled poorly |
Date: |
Thu, 15 Jun 2017 23:16:21 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit eb354680b45f167ded8b9a6a01090f34d88775f3
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Jun 15 22:07:10 2017 +0200
fix compiler warning due to possibly unknown switch enum values being
handled poorly
---
src/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
index e68ba41..738d2a5 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.
*
--
To stop receiving notification emails like this one, please contact
address@hidden