mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
fix compiler warnings
Origin commit data
------------------
Commit: 9c62e80325
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2020-01-09 (Thu, 09 Jan 2020)
This commit is contained in:
@@ -554,14 +554,17 @@ bool CPictureViewer::GetLogoName(const uint64_t &ChannelID, const std::string &C
|
|||||||
CSectionsdClient::CurrentNextInfo CurrentNext;
|
CSectionsdClient::CurrentNextInfo CurrentNext;
|
||||||
CEitManager::getInstance()->getCurrentNextServiceKey(ChannelID, CurrentNext);
|
CEitManager::getInstance()->getCurrentNextServiceKey(ChannelID, CurrentNext);
|
||||||
|
|
||||||
if (CSectionsdClient::epgflags::has_current && !CurrentNext.current_name.empty())
|
if (CurrentNext.flags & CSectionsdClient::epgflags::has_current && !CurrentNext.current_name.empty())
|
||||||
EventName = CurrentNext.current_name;
|
EventName = CurrentNext.current_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
// add neccessary paths to v_path
|
// add neccessary paths to v_path
|
||||||
v_path.clear();
|
v_path.clear();
|
||||||
if (lcd4l_mode)
|
if (lcd4l_mode){
|
||||||
|
#ifdef ENABLE_LCD4LINUX
|
||||||
v_path.push_back(g_settings.lcd4l_logodir);
|
v_path.push_back(g_settings.lcd4l_logodir);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
v_path.push_back(g_settings.logo_hdd_dir);
|
v_path.push_back(g_settings.logo_hdd_dir);
|
||||||
if (g_settings.logo_hdd_dir != LOGODIR_VAR)
|
if (g_settings.logo_hdd_dir != LOGODIR_VAR)
|
||||||
v_path.push_back(LOGODIR_VAR);
|
v_path.push_back(LOGODIR_VAR);
|
||||||
|
Reference in New Issue
Block a user