Minimal code cleanup

This commit is contained in:
Stefan Persson 2010-10-29 07:37:17 +00:00
parent a163a78982
commit d3fe7dc954
2 changed files with 1 additions and 2 deletions

View file

@ -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;
}