]> git.ipfire.org Git - thirdparty/shadow.git/commit
src/check_subid_range.c: Remove dead code
authorAlejandro Colomar <alx@kernel.org>
Wed, 2 Oct 2024 22:19:02 +0000 (00:19 +0200)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Thu, 3 Oct 2024 08:38:56 +0000 (10:38 +0200)
commit7a796897e52293efe9e210ab8da32b7aefe65591
tree0e989bb9ca29e73ff7b9611ea2930c0cb09ef4c1
parentaf66ffea335efef360dc71bf8723516effbf7064
src/check_subid_range.c: Remove dead code

I forgot to remove the setting of errno when I switched from
strtoul_noneg() to str2ul().  strtoul(3) needs errno for determining
success, but str2ul() does not.

Fixes: f3a1e1cf098d ("src/check_subid_range.c: Call str2ul() instead of strtoul_noneg()")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/check_subid_range.c