mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-30 09:26:15 +02:00
Fix some TODOs
This commit is contained in:
parent
775fd21f32
commit
fce34d82c8
3 changed files with 14 additions and 9 deletions
|
@ -90,7 +90,7 @@ void Config::init(const std::string& root_directory, const std::string& user, co
|
|||
try
|
||||
{
|
||||
ifstream ifs(filename_, std::ifstream::in);
|
||||
if ((ifs.good()) && (ifs.peek() != std::ifstream::traits_type::eof()))
|
||||
if (ifs.good() && (ifs.peek() != std::ifstream::traits_type::eof()))
|
||||
{
|
||||
json j;
|
||||
ifs >> j;
|
||||
|
@ -101,8 +101,8 @@ void Config::init(const std::string& root_directory, const std::string& user, co
|
|||
{
|
||||
GroupPtr group = make_shared<Group>();
|
||||
group->fromJson(jGroup);
|
||||
// if (client->id.empty() || getClientInfo(client->id))
|
||||
// continue;
|
||||
// if (client->id.empty() || getClientInfo(client->id))
|
||||
// continue;
|
||||
groups.push_back(group);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue