cleanup: remove leftover var in ThreadManager.cpp (#8611)

This commit is contained in:
littleblack111 2024-12-01 00:40:23 +08:00 committed by GitHub
parent 8f83d29f00
commit ef6b0c81c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,8 +3,6 @@
#include "../Compositor.hpp" #include "../Compositor.hpp"
#include "../config/ConfigValue.hpp" #include "../config/ConfigValue.hpp"
int slowUpdate = 0;
int handleTimer(void* data) { int handleTimer(void* data) {
const auto PTM = (CThreadManager*)data; const auto PTM = (CThreadManager*)data;
@ -27,4 +25,4 @@ CThreadManager::CThreadManager() {
CThreadManager::~CThreadManager() { CThreadManager::~CThreadManager() {
if (m_esConfigTimer) if (m_esConfigTimer)
wl_event_source_remove(m_esConfigTimer); wl_event_source_remove(m_esConfigTimer);
} }