Skip to content

Commit

Permalink
[pvr] make empty epg table debug logging conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
nemphys committed Dec 27, 2012
1 parent 84fe311 commit a773d7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xbmc/epg/Epg.cpp
Expand Up @@ -374,7 +374,9 @@ bool CEpg::Load(void)
int iEntriesLoaded = database->Get(*this);
if (iEntriesLoaded <= 0)
{
#if EPG_DEBUGGING
CLog::Log(LOGDEBUG, "EPG - %s - no database entries found for table '%s'.", __FUNCTION__, m_strName.c_str());
#endif
}
else
{
Expand Down

1 comment on commit a773d7f

@da-anda
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's already LOGDEBUG and will only be logged if debugging is turned on - why this condition then?

Please sign in to comment.