misc: fix a warning

This commit is contained in:
vaxerski 2023-04-14 15:06:22 +01:00
parent 287e6c4ede
commit cf7c5e4dff

View file

@ -912,7 +912,6 @@ void CKeybindManager::moveActiveToWorkspaceSilent(std::string args) {
return; return;
auto pWorkspace = g_pCompositor->getWorkspaceByID(WORKSPACEID); auto pWorkspace = g_pCompositor->getWorkspaceByID(WORKSPACEID);
const auto PMONITOR = g_pCompositor->getMonitorFromID(PWINDOW->m_iMonitorID);
const auto OLDMIDDLE = PWINDOW->middle(); const auto OLDMIDDLE = PWINDOW->middle();
if (pWorkspace) { if (pWorkspace) {