diff options
author | Arne H Juul <arnej@yahooinc.com> | 2021-09-20 11:30:22 +0000 |
---|---|---|
committer | Arne H Juul <arnej@yahooinc.com> | 2021-09-20 11:30:22 +0000 |
commit | 3257017c8c22241e41bcf260aaf3e0ad33b31c7b (patch) | |
tree | 511bdae719dc452050cf894e62b1af680d61163a /slobrok/src/apps | |
parent | 727569fcc19f2e0543f56e6d421ed1ce6c2b5c75 (diff) |
remove wiring of useNewLogic flag
Diffstat (limited to 'slobrok/src/apps')
-rw-r--r-- | slobrok/src/apps/slobrok/slobrok.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/slobrok/src/apps/slobrok/slobrok.cpp b/slobrok/src/apps/slobrok/slobrok.cpp index b2748762a12..18a401e1db6 100644 --- a/slobrok/src/apps/slobrok/slobrok.cpp +++ b/slobrok/src/apps/slobrok/slobrok.cpp @@ -50,7 +50,6 @@ App::Main() { uint32_t portnum = 2773; vespalib::string cfgId; - bool useNewLogic = false; int argi = 1; const char* optArg; @@ -64,7 +63,7 @@ App::Main() portnum = atoi(optArg); break; case 'N': - useNewLogic = true; + // ignored break; default: LOG(error, "unknown option letter '%c'", c); @@ -76,11 +75,11 @@ App::Main() if (cfgId.empty()) { LOG(debug, "no config id specified"); ConfigShim shim(portnum); - mainobj = std::make_unique<SBEnv>(shim, useNewLogic); + mainobj = std::make_unique<SBEnv>(shim); } else { ConfigShim shim(portnum, cfgId); shim.enableStateServer(true); - mainobj = std::make_unique<SBEnv>(shim, useNewLogic); + mainobj = std::make_unique<SBEnv>(shim); } hook_sigterm(); res = mainobj->MainLoop(); |