kwin: compiler warnings fix

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-06-11 22:30:43 +03:00
parent ddb7958093
commit ec58bdac02
2 changed files with 2 additions and 0 deletions

View file

@ -1865,6 +1865,7 @@ EffectWindow* PresentWindowsEffect::relativeWindow(EffectWindow *w, int xdiff, i
// Should never get here
kFatal() << "Something strange happened";
return nullptr;
}
EffectWindow* PresentWindowsEffect::findFirstWindow() const

View file

@ -314,6 +314,7 @@ QRect Workspace::clientArea(clientAreaOption opt, int screen, int desktop) const
return QRect(0, 0, displayWidth(), displayHeight());
}
kFatal() << "Something strange happened";
return QRect();
}