FSSDawid/xbmc — comment on commit b745a3f762b9bfaa897b62650827ae911b43831a
File: xbmc/interfaces/json-rpc/PVROperations.cpp line 65
By opdenkamp:

this else block is not needed if you drop the "else" below here.
this can be done in 3 lines:

'''
if (g_PVRManager.GetCurrentChannel(currentChannel) && currentChannel.IsRadio() == channel->IsRadio())
return g_PVRManager.PerformChannelSwitch(channel,false) ? ACK : InternalError;
return g_PVRManager.StartPlayback(channel) ? ACK : InternalError;
'''