]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/fields.c: valid_field(): Remove useless check
authorAlejandro Colomar <alx@kernel.org>
Wed, 11 Dec 2024 20:04:52 +0000 (21:04 +0100)
committerSerge Hallyn <serge@hallyn.com>
Tue, 3 Jun 2025 14:04:01 +0000 (09:04 -0500)
commit6a024449f9fd9f909c8ebe5a2b3019a1b90d4dd1
treec380df59dcb09a67e55a4b8fad5b6b09019ac7c8
parent8b3e9c340069fbfc3c9696d028b42c97e05bb035
lib/fields.c: valid_field(): Remove useless check

We only call this function with a string literal, and it makes little
sense to pass something else.  Let's simplify.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/fields.c