mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 03:27:40 +01:00
Fix clang warning about unhandled enum value.
This commit is contained in:
parent
6722d1cc6a
commit
7542949e2b
@ -133,6 +133,9 @@ void SpotifyClient::LoggedInCallback(sp_session* session, sp_error error) {
|
||||
case SP_ERROR_USER_NEEDS_PREMIUM :
|
||||
error_code = spotify_pb::LoginResponse_Error_UserNeedsPremium;
|
||||
break;
|
||||
default:
|
||||
error_code = spotify_pb::LoginResponse_Error_Other;
|
||||
break;
|
||||
}
|
||||
|
||||
me->SendLoginCompleted(success, sp_error_message(error), error_code);
|
||||
|
Loading…
x
Reference in New Issue
Block a user