From dcab5a5dbcffc43848846fc0d63e67f085494027 Mon Sep 17 00:00:00 2001 From: Brad Hefta-Gaub Date: Mon, 17 Oct 2016 13:12:24 -0700 Subject: [PATCH] fix unix warning --- interface/src/Application.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index e4486e5984..db9f7757cf 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -580,16 +580,13 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo bool wantsSandboxRunning = shouldRunServer(); static bool determinedSandboxState = false; - static bool sandboxRunning = false; SandboxUtils sandboxUtils; sandboxUtils.ifLocalSandboxRunningElse([&]() { qCDebug(interfaceapp) << "Home sandbox appears to be running....."; determinedSandboxState = true; - sandboxRunning = true; }, [&, wantsSandboxRunning]() { qCDebug(interfaceapp) << "Home sandbox does not appear to be running...."; determinedSandboxState = true; - sandboxRunning = false; if (wantsSandboxRunning) { QString contentPath = getRunServerPath(); SandboxUtils::runLocalSandbox(contentPath, true, RUNNING_MARKER_FILENAME);