chore: suppress compiler warning
parent
11d7ca1d73
commit
fd3710d869
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue