From: Jaroslav Kysela Date: Wed, 17 Jan 2018 19:04:20 +0000 (+0100) Subject: epg: another try to fix the compilation problem X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be4a32a0ddb060dd007177910445b11f45a95073;p=thirdparty%2Ftvheadend.git epg: another try to fix the compilation problem --- diff --git a/src/epg.c b/src/epg.c index c0a02f9c8..ee9f56305 100644 --- a/src/epg.c +++ b/src/epg.c @@ -1153,12 +1153,12 @@ int epg_episode_set_season episode->season = season; if (season) { _epg_season_add_episode(season, episode); - (void)epg_episode_set_brand(episode, season->brand ?: NULL, changed); + save |= epg_episode_set_brand(episode, season->brand ?: NULL, changed); } else { - (void)epg_episode_set_brand(episode, NULL, changed); + save |= epg_episode_set_brand(episode, NULL, changed); } _epg_object_set_updated(episode); - save = 1; + save |= 1; } return save; }