From b86560030911208be738163ecd0e48790c9317a1 Mon Sep 17 00:00:00 2001 From: Jasmin Jessich Date: Sat, 10 Jun 2017 18:11:31 +0200 Subject: Fix compilation with gcc 7.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fixed Bug #2466 (https://projects.vdr-developer.org/issues/2466) - Get rid of warning ‘template class std::auto_ptr’ is deprecated by disabling warning deprecated-declarations --- pages/multischedule.ecpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages') diff --git a/pages/multischedule.ecpp b/pages/multischedule.ecpp index e82942b..d06ac44 100644 --- a/pages/multischedule.ecpp +++ b/pages/multischedule.ecpp @@ -317,7 +317,7 @@ std::vector times_start; #endif if ( ! Channel ) continue; - if ( Channel->GroupSep() || Channel->Name() == '\0' ) + if ( Channel->GroupSep() || !Channel->Name() || !*Channel->Name() ) continue; channel_names[ j ] = Channel->Name(); channel_IDs[ j ] = Channel->GetChannelID(); -- cgit v1.2.3