diff options
| author | Ikalco <73481042+ikalco@users.noreply.github.com> | 2024-12-17 10:31:27 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-17 17:31:27 +0100 |
| commit | e2c78c00e50a0835c3830c8a0cd82049dc5700b8 (patch) | |
| tree | 7ac17c752f1569e60a63e5356e199de6968cbb0e /src/helpers/MiscFunctions.cpp | |
| parent | bd7092a9feb39275a9eb1426046a46671e0fe580 (diff) | |
internal: remove dead code (#8748)
Diffstat (limited to 'src/helpers/MiscFunctions.cpp')
| -rw-r--r-- | src/helpers/MiscFunctions.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/helpers/MiscFunctions.cpp b/src/helpers/MiscFunctions.cpp index 9b92c63d..6d365161 100644 --- a/src/helpers/MiscFunctions.cpp +++ b/src/helpers/MiscFunctions.cpp @@ -161,26 +161,6 @@ std::string absolutePath(const std::string& rawpath, const std::string& currentP return value; } -void addWLSignal(wl_signal* pSignal, wl_listener* pListener, void* pOwner, const std::string& ownerString) { - ASSERT(pSignal); - ASSERT(pListener); - - wl_signal_add(pSignal, pListener); - - Debug::log(LOG, "Registered signal for owner {:x}: {:x} -> {:x} (owner: {})", (uintptr_t)pOwner, (uintptr_t)pSignal, (uintptr_t)pListener, ownerString); -} - -void removeWLSignal(wl_listener* pListener) { - wl_list_remove(&pListener->link); - wl_list_init(&pListener->link); - - Debug::log(LOG, "Removed listener {:x}", (uintptr_t)pListener); -} - -void handleNoop(struct wl_listener* listener, void* data) { - // Do nothing -} - std::string escapeJSONStrings(const std::string& str) { std::ostringstream oss; for (auto const& c : str) { |
