Removed ALL the compile warnings!
This commit is contained in:
parent
d8113e7829
commit
05d23a0ac6
21 changed files with 1472 additions and 1018 deletions
|
@ -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;
|
||||
|
|
|
@ -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))){
|
||||
|
|
|
@ -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)){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue