Removed ALL the compile warnings!

This commit is contained in:
Thulinma 2014-01-05 15:28:53 +01:00
parent d8113e7829
commit 05d23a0ac6
21 changed files with 1472 additions and 1018 deletions

View file

@ -147,7 +147,6 @@ namespace Controller {
std::ifstream loadavg("/proc/loadavg");
if (loadavg){
char line[300];
int bufcache = 0;
loadavg.getline(line, 300);
//parse lines here
float onemin, fivemin, fifteenmin;

View file

@ -115,7 +115,7 @@ namespace Controller {
if (!gotAll){continue;}
}
/// \TODO Check dependencies?
/// \todo Check dependencies?
new_connectors[counter] = (*ait).toString();
if (Util::Procs::isActive(toConn(counter))){

View file

@ -222,8 +222,6 @@ namespace Controller {
///\param in The requested configuration.
///\param out The new configuration after parsing.
void CheckStreams(JSON::Value & in, JSON::Value & out){
bool changed = false;
//check for new streams and updates
for (JSON::ObjIter jit = in.ObjBegin(); jit != in.ObjEnd(); jit++){
if (out.isMember(jit->first)){