kwo pushed a commit to branch master. http://git.enlightenment.org/e16/e16.git/commit/?id=f5324ebd5ae58fb445c919c45c0db95baaa8c8ba
commit f5324ebd5ae58fb445c919c45c0db95baaa8c8ba Author: Kim Woelders <k...@woelders.dk> Date: Tue May 5 16:18:53 2020 +0200 groups.c: Simplify _GroupDelete() some more --- src/groups.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/groups.c b/src/groups.c index 4e6c50b4..0e009b24 100644 --- a/src/groups.c +++ b/src/groups.c @@ -340,8 +340,6 @@ _GroupEwinRemove(Group * g, EWin * ewin, int snap_update) static void _GroupDelete(Group * g) { - EWin *ewin; - if (!g) return; @@ -349,10 +347,7 @@ _GroupDelete(Group * g) g->keep = 1; while (g->num_members > 0) - { - ewin = g->members[0]; - _GroupEwinRemove(g, ewin, 1); - } + _GroupEwinRemove(g, g->members[0], 1); _GroupDestroy(g, 1); } --