PR-786 Remove some code that shouldn't have been added. Fix style

This commit is contained in:
Garret Fick 2019-11-20 11:08:29 -05:00
parent 8759699182
commit dc6d2fe0ca
No known key found for this signature in database
GPG Key ID: A1BBEF9D2AB249C6
2 changed files with 1 additions and 6 deletions

View File

@ -204,7 +204,6 @@ int8_t pstorage_run(oplc::config_stream& cfg_stream,
config.poll_interval = chrono::seconds(max(1, atoi(cfg_overrides)));
}
const char endianness_header[2] = { IS_BIG_ENDIAN, '\n'};
// This isn't ideal because we really only need enough space for

View File

@ -59,11 +59,7 @@ ServiceDefinition::ServiceDefinition(const char* name,
running(false),
thread(0),
config_buffer()
{
GlueVariablesBinding bindings(&bufferLock, OPLCGLUE_GLUE_SIZE,
oplc_glue_vars, OPLCGLUE_MD5_DIGEST);
this->finalize_fn(bindings);
}
{}
void ServiceDefinition::initialize() {
GlueVariablesBinding bindings(&bufferLock, OPLCGLUE_GLUE_SIZE,