]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/idmapping.c: get_map_ranges(): Rename local variable
authorAlejandro Colomar <alx@kernel.org>
Thu, 11 Jan 2024 11:04:23 +0000 (12:04 +0100)
committerSerge Hallyn <serge@hallyn.com>
Fri, 12 Jul 2024 03:42:58 +0000 (22:42 -0500)
commitf89925c21964eb759031bee4641c3319772eed1d
treed56fed611ccad7190f7da5e12743a5bf1ece931e
parentc2ebd210e70e6f6d85d9bfc00f4269e6bcd828d3
lib/idmapping.c: get_map_ranges(): Rename local variable

For a pointer iterator used often, a single-letter identifier is more
appropriate.  That reduces the length of lines considerably, avoiding
unnecessary line breaks.  And since we initialize it with

m = mappings;

it's clear what it is.

Link: <https://github.com/shadow-maint/shadow/commit/ff2baed5dbf81e8967b805889f565fedb48600df#r136635300>
Cc: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/idmapping.c