removed useless else statement

This commit is contained in:
Palanix 2021-08-07 11:33:52 +02:00
parent 0a70287687
commit 7cb3b2a5cb

1
dwl.c
View File

@ -841,7 +841,6 @@ set_mode(struct wlr_output *output, int width, int height,
} }
if (!best) { if (!best) {
best = wlr_output_preferred_mode(output); best = wlr_output_preferred_mode(output);
} else {
} }
wlr_output_set_mode(output, best); wlr_output_set_mode(output, best);
} }