]> git.ipfire.org Git - thirdparty/shadow.git/commit
memzero.h: Remove no-op assignment
authorAlejandro Colomar <alx@kernel.org>
Mon, 31 Jul 2023 11:20:19 +0000 (13:20 +0200)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Fri, 1 Sep 2023 07:39:23 +0000 (09:39 +0200)
commit246edc0481298dfcce505fedbc5e429738fccde2
tree68002727fa5497b77d8b7d60379c91939a26501b
parent2daa6cc65d51b8360517a896e7a06bfd46de8a6e
memzero.h: Remove no-op assignment

memset(3) returns the input pointer.  The assignment was effectively a
no-op, and just confused the code.

Cc: Christian Göttsche <cgzones@googlemail.com>
Cc: Serge Hallyn <serge@hallyn.com>
Cc: Iker Pedrosa <ipedrosa@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/memzero.h