]> git.ipfire.org Git - thirdparty/kmod.git/commit
testsuite/test-hash: silence unused parameter warning
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 29 May 2025 14:31:36 +0000 (15:31 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Wed, 11 Jun 2025 12:54:40 +0000 (07:54 -0500)
commita7ce23ffbb997422ea710d3cb0d2cdeced6cdb06
treede33943672174d0a512a9b2c69ba7b78a2745e2b
parentabb9e04215ce84d1f9d91b52c74d4f88c973bd9c
testsuite/test-hash: silence unused parameter warning

The implementation of our "hash_free" function varies in that the hash
data itself is not freed. Thus the function argument is unused, leading
to annoying compiler warning. Since there is nothing to be done here,
just silence it.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/361
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
testsuite/test-hash.c