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

This commit is contained in:
Christian Grothoff 2017-06-15 22:07:10 +02:00
parent b874a4c39b
commit eb354680b4
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

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