]> git.ipfire.org Git - thirdparty/shadow.git/commit
Use temporary variable
authorAlejandro Colomar <alx@kernel.org>
Sat, 27 May 2023 13:56:08 +0000 (15:56 +0200)
committerSerge Hallyn <serge@hallyn.com>
Thu, 8 Jun 2023 14:05:39 +0000 (09:05 -0500)
commit787ea57a186e0e7a60c75026038056cc2131ec0c
tree7c9ee786584ffcfc0d92fe5ad035a8b833d407eb
parentf2ac1e254044aa7de1bd4b8deb08b8017813f730
Use temporary variable

-  Use the temporary variable more, as it helps readability: it removes
   a derefecence, which itself allows removing some parentheses.

-  Use a shorter name, which is more common with temporaries, and so
   there's less to read.

-  Assign to *ranges at the end of the function.  It's the same, but
   with the other changes, I think this makes it slightly clearer.

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