General: Make use of [[maybe_unused]]

Replaces uses of (void)variable with the attribute introduced in C++17.
This commit is contained in:
Lioncash
2019-09-09 21:42:36 -04:00
parent 4f4250baf7
commit 23cdae9e97
4 changed files with 26 additions and 65 deletions

View File

@@ -89,10 +89,7 @@ public:
void waitForRetrace() override {}
uintptr_t getPlatformHandle() const override { return 0; }
bool _incomingEvent(void* event) override {
(void)event;
return false;
}
bool _incomingEvent([[maybe_unused]] void* event) override { return false; }
void _cleanup() override {}
ETouchType getTouchType() const override { return ETouchType::Display; }