* Fixed Prevent defects
Change-Id: I3468cf2754656c7f0b4a3cc619fcfdd1c758d2e6
Assert(false && "Effect is Error");
return ExtendedEffect();
}
- return ExtendedEffect(Inapplicable);
+ //return ExtendedEffect(Inapplicable); //unreachable statement
}
Attribute::Match Parser::convertToMatchFunction(xmlChar * func)
LogError("[ERROR] match function value is NULL");
return Attribute::Match::Error;
}
- Assert(false);
}
void Parser::handleAttr(xmlTextReaderPtr reader)
#sbs-git:slp/pkgs/s/security-server security-server 0.0.37
Name: security-server
Summary: Security server and utilities
-Version: 0.0.59
+Version: 0.0.61
Release: 1
Group: TO_BE/FILLED_IN
License: Apache License, Version 2.0
auto retVal = daemon.execute();
daemon.shutdown();
- instance.Release();
+ try {
+ instance.Release();
+ } catch (const DPL::SingleInstance::Exception::LockError &e) {
+ LogError(e.DumpToString());
+ }
return retVal;
}
const unsigned int max_attempts, const unsigned int expire_time,
int *current_attempt)
{
- unsigned int current_time;
+ unsigned int current_time = time(NULL);
if(max_attempts != 0)
{