Minimal code cleanup
This commit is contained in:
parent
a163a78982
commit
d3fe7dc954
2 changed files with 1 additions and 2 deletions
|
@ -178,7 +178,6 @@ bool Settings::setDeviceState( int intDeviceId, int intDeviceState, const std::w
|
|||
cfg_setstr(cfg_device, "stateValue", std::string(strDeviceStateValue.begin(), strDeviceStateValue.end()).c_str());
|
||||
|
||||
FILE *fp = fopen(VAR_CONFIG_FILE, "w");
|
||||
//TODO debugtest
|
||||
if(fp == 0){
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue