mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 14:42:29 +02:00
chore: suppress compiler warning
This commit is contained in:
@ -83,7 +83,9 @@ bool waybar::modules::Backlight::handleScroll(GdkEventScroll *e) {
|
|||||||
// Check scroll direction
|
// Check scroll direction
|
||||||
auto dir = AModule::getScrollDir(e);
|
auto dir = AModule::getScrollDir(e);
|
||||||
|
|
||||||
util::ChangeType ct;
|
// No worries, it will always be set because of the switch below. This is purely to suppress a
|
||||||
|
// warning
|
||||||
|
util::ChangeType ct = util::ChangeType::Increase;
|
||||||
|
|
||||||
switch (dir) {
|
switch (dir) {
|
||||||
case SCROLL_DIR::UP:
|
case SCROLL_DIR::UP:
|
||||||
|
Reference in New Issue
Block a user