mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01:00
backend/drm: remove unused if
This commit is contained in:
parent
017cfb0b86
commit
d605b2ea07
1 changed files with 0 additions and 3 deletions
|
@ -228,9 +228,6 @@ static bool match_obj_(struct match_state *st, size_t skips, size_t score, size_
|
||||||
st->replaced = replaced;
|
st->replaced = replaced;
|
||||||
memcpy(st->best, st->res, sizeof(st->best[0]) * st->num_res);
|
memcpy(st->best, st->res, sizeof(st->best[0]) * st->num_res);
|
||||||
|
|
||||||
if (st->score == st->num_objs && st->replaced == 0) {
|
|
||||||
st->exit_early = true;
|
|
||||||
}
|
|
||||||
st->exit_early = (st->score == st->num_res - skips
|
st->exit_early = (st->score == st->num_res - skips
|
||||||
|| st->score == st->num_objs)
|
|| st->score == st->num_objs)
|
||||||
&& st->replaced == 0;
|
&& st->replaced == 0;
|
||||||
|
|
Loading…
Reference in a new issue