Skip to content

Commit

Permalink
Fixed some compiler warnings!
Browse files Browse the repository at this point in the history
  • Loading branch information
aassif committed May 22, 2019
1 parent 2add83f commit fba844e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Freebox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1112,6 +1112,7 @@ void * Freebox::Process ()
case FULL : ProcessFull (json["result"]); break;
case CHANNEL : ProcessChannel (json["result"], q.channel); break;
case EVENT : ProcessEvent (json["result"], q.channel, q.date, EPG_EVENT_UPDATED); break;
default : break;
}
}
}
Expand Down Expand Up @@ -1195,6 +1196,7 @@ void Freebox::SetChannelSource (unsigned int id, enum Source source)
case Source::AUTO : m_tv_prefs_source.erase (id); break;
case Source::IPTV : m_tv_prefs_source.insert_or_assign (id, Source::IPTV); break;
case Source::DVB : m_tv_prefs_source.insert_or_assign (id, Source::DVB); break;
default : break;
}

Document d (kObjectType);
Expand Down Expand Up @@ -1225,6 +1227,7 @@ void Freebox::SetChannelQuality (unsigned int id, enum Quality quality)
case Quality::SD : m_tv_prefs_quality.insert_or_assign (id, Quality::SD); break;
case Quality::LD : m_tv_prefs_quality.insert_or_assign (id, Quality::LD); break;
case Quality::STEREO : m_tv_prefs_quality.insert_or_assign (id, Quality::STEREO); break;
default : break;
}

Document d (kObjectType);
Expand Down

0 comments on commit fba844e

Please sign in to comment.