1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-05 15:16:19 +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>
* 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
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
scanpmsgr(UNUSED(HashTable ht), ScanFunc func, int flags)
{
return scangroup(func, flags, 1);
scangroup(func, flags, 1);
}
static struct paramdef partab[] = {