mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-05 21:04:14 -04:00
fixed compilation warning
This commit is contained in:
parent
b4bfdf2e25
commit
d507f7ea23
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ int main(int argc, char* argv[])
|
||||||
if(jsonApiServer)
|
if(jsonApiServer)
|
||||||
jsonApiServer->authorizeToken("webui:"+webui_pass1);
|
jsonApiServer->authorizeToken("webui:"+webui_pass1);
|
||||||
|
|
||||||
std::atomic<bool> keepRunning = true;
|
std::atomic<bool> keepRunning(true);
|
||||||
rsControl->setShutdownCallback([&](int){keepRunning = false;});
|
rsControl->setShutdownCallback([&](int){keepRunning = false;});
|
||||||
|
|
||||||
while(keepRunning)
|
while(keepRunning)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue