fixed compilation warning

This commit is contained in:
csoler 2019-08-30 22:11:33 +02:00
parent b4bfdf2e25
commit d507f7ea23
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -284,7 +284,7 @@ int main(int argc, char* argv[])
if(jsonApiServer)
jsonApiServer->authorizeToken("webui:"+webui_pass1);
std::atomic<bool> keepRunning = true;
std::atomic<bool> keepRunning(true);
rsControl->setShutdownCallback([&](int){keepRunning = false;});
while(keepRunning)