Permalink
Browse files

[pvr] make empty epg table debug logging conditional

  • Loading branch information...
1 parent 84fe311 commit a773d7f27354df083afa349de09caa5257a66e37 @nemphys committed Dec 27, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 xbmc/epg/Epg.cpp
View
@@ -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
{

1 comment on commit a773d7f

@da-anda

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

Please sign in to comment.