1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-06-09 18:38:05 +02:00

52780: unneccessary returns in hlgroup

This commit is contained in:
Peter Stephenson 2024-03-21 09:25:07 +00:00
parent 7139d3b286
commit 017738cd60
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2024-03-21 Peter Stephenson <p.stephenson@samsung.com>
* 52780: Src/Modules/hlgroup.c: remove unnecessary returns.
2024-03-20 Oliver Kiddle <opk@zsh.org> 2024-03-20 Oliver Kiddle <opk@zsh.org>
* 52783: Src/Modules/hlgroup.c: allow for unset hash element * 52783: Src/Modules/hlgroup.c: allow for unset hash element

View file

@ -142,7 +142,7 @@ getpmesc(UNUSED(HashTable ht), const char *name)
static void static void
scanpmesc(UNUSED(HashTable ht), ScanFunc func, int flags) scanpmesc(UNUSED(HashTable ht), ScanFunc func, int flags)
{ {
return scangroup(func, flags, 0); scangroup(func, flags, 0);
} }
/**/ /**/
@ -156,7 +156,7 @@ getpmsgr(UNUSED(HashTable ht), const char *name)
static void static void
scanpmsgr(UNUSED(HashTable ht), ScanFunc func, int flags) scanpmsgr(UNUSED(HashTable ht), ScanFunc func, int flags)
{ {
return scangroup(func, flags, 1); scangroup(func, flags, 1);
} }
static struct paramdef partab[] = { static struct paramdef partab[] = {