]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/, src/: Make the use of MAYBE_UNUSED macro consistent
authorPablo Saavedra <psaavedra@igalia.com>
Tue, 23 Jan 2024 07:33:37 +0000 (08:33 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Tue, 30 Jan 2024 15:19:56 +0000 (16:19 +0100)
commitcd9b4de3276b7ebac2213246abe40892144857c5
tree8207ba827e78d8e56c3d6ae1541eb11e3ed2051e
parent5d5d2127640012d79f6c448417fba550fd3d55eb
lib/, src/: Make the use of MAYBE_UNUSED macro consistent

There is an inconsistent use of the MAYBE_UNUSED macro. Sometimes the
`int unused(x)` form is used form and others the `unused int x`. We'd
like to use the second form always.

Related-To: https://github.com/shadow-maint/shadow/issues/918
Suggested-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Pablo Saavedra <psaavedra@igalia.com>
lib/logind.c
src/grpconv.c
src/grpunconv.c
src/su.c