remove some warnings

This commit is contained in:
vaxerski 2022-03-31 17:26:09 +02:00
parent 3e614f2c1e
commit 993e601424
3 changed files with 4 additions and 4 deletions

View file

@ -182,7 +182,7 @@ void Events::listener_unmapWindow(void* owner, void* data) {
}
void Events::listener_commitWindow(void* owner, void* data) {
CWindow* PWINDOW = (CWindow*)owner;
// CWindow* PWINDOW = (CWindow*)owner;
// Debug::log(LOG, "Window %x committed", PWINDOW); // SPAM!
}

View file

@ -142,7 +142,7 @@ void Events::listener_unmapSubsurface(void* owner, void* data) {
}
void Events::listener_commitSubsurface(void* owner, void* data) {
SSurfaceTreeNode* pNode = (SSurfaceTreeNode*)owner;
// SSurfaceTreeNode* pNode = (SSurfaceTreeNode*)owner;
}
void Events::listener_destroySubsurface(void* owner, void* data) {

View file

@ -9,8 +9,8 @@ void CAnimationManager::tick() {
animationsDisabled = true;
const bool WINDOWSENABLED = g_pConfigManager->getInt("animations:windows");
const bool BORDERSENABLED = g_pConfigManager->getInt("animations:borders");
const bool FADEENABLED = g_pConfigManager->getInt("animations:fadein");
// const bool BORDERSENABLED = g_pConfigManager->getInt("animations:borders");
// const bool FADEENABLED = g_pConfigManager->getInt("animations:fadein");
const float ANIMSPEED = g_pConfigManager->getFloat("animations:speed");
for (auto& w : g_pCompositor->m_lWindows) {