mirror of
https://github.com/yshui/picom.git
synced 2025-04-21 18:03:02 -04:00
win: remove some unreachable code
finish_destroy_win has unreachable code after a return statement Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
1780f63914
commit
127b1ac3a4
1 changed files with 0 additions and 3 deletions
|
@ -1647,9 +1647,6 @@ static void finish_destroy_win(session_t *ps, struct managed_win **_w) {
|
|||
}
|
||||
free(w);
|
||||
*_w = NULL;
|
||||
return;
|
||||
log_warn("Destroyed window is not in window list");
|
||||
assert(false);
|
||||
}
|
||||
|
||||
static void finish_map_win(struct managed_win **_w) {
|
||||
|
|
Loading…
Add table
Reference in a new issue