Skip to content

Commit

Permalink
pvr: silence warning in CPVRRecordings::DeleteAllRecordingsFromTrash()
Browse files Browse the repository at this point in the history
  • Loading branch information
Montellese committed Mar 3, 2015
1 parent e73ad61 commit ada3e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/pvr/recordings/PVRRecordings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ bool CPVRRecordings::RenameRecording(CFileItem &item, std::string &strNewName)

bool CPVRRecordings::DeleteAllRecordingsFromTrash()
{
return g_PVRClients->DeleteAllRecordingsFromTrash();
return g_PVRClients->DeleteAllRecordingsFromTrash() == PVR_ERROR_NO_ERROR;
}

bool CPVRRecordings::SetRecordingsPlayCount(const CFileItemPtr &item, int count)
Expand Down

0 comments on commit ada3e90

Please sign in to comment.