1
0
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:
John Maguire 2011-11-28 14:08:22 +01:00
parent 6722d1cc6a
commit 7542949e2b

View File

@ -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);