]> the.earth.li Git - onak.git/commit
Mark unused function parameters
authorJonathan McDowell <noodles@earth.li>
Thu, 14 Sep 2023 08:20:10 +0000 (13:50 +0530)
committerJonathan McDowell <noodles@earth.li>
Thu, 14 Sep 2023 08:22:24 +0000 (13:52 +0530)
commit9d8830c7ea9fd00ded77072cdfd333c5c4e39813
tree8c63081baabf93e9fd6ee205b768e4985db4ac98
parentc0fee41b459cc3822d890bac98882a6c9696c033
Mark unused function parameters

Do a pass-through with "gcc -Werror -Wunused-parameter" and mark up all
the unused function parameters (and remove a few unused variables). Also
add a CMake check to ensure we have __attribute__((unused)) available to
us.
13 files changed:
CMakeLists.txt
build-config.h.in
cgi/hashquery.c
cgi/lookup.c
charfuncs.c
keydb/keydb_db4.c
keydb/keydb_file.c
keydb/keydb_fs.c
keydb/keydb_hkp.c
keydb/keydb_keyd.c
keydb/keydb_keyring.c
keydb/keydb_pg.c
sigcheck.c