diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-08 11:49:03 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-08 15:00:43 +0200 |
commit | 8252476fc8c8bdcacbea41f886f085746df9016a (patch) | |
tree | 55d34a94f63500eb512333e6b3e61bdbfa267b8f /README | |
parent | 0d34f828de4868b0ec4a8bb84a72121047879b1e (diff) | |
download | libpam-x2go-8252476fc8c8bdcacbea41f886f085746df9016a.tar.gz libpam-x2go-8252476fc8c8bdcacbea41f886f085746df9016a.tar.bz2 libpam-x2go-8252476fc8c8bdcacbea41f886f085746df9016a.zip |
tests/mock_*.c: Mark unused function arguments as such.
This resolves:
mock_pam.c: In function 'fake_conv':
mock_pam.c:24:20: error: unused parameter 'num_msg' [-Werror=unused-parameter]
24 | int fake_conv (int num_msg, const struct pam_message **msg,
| ~~~~^~~~~~~
mock_pam.c:25:39: error: unused parameter 'appdata_ptr' [-Werror=unused-parameter]
25 | struct pam_response **resp, void *appdata_ptr)
| ~~~~~~^~~~~~~~~~~
cc1: all warnings being treated as errors
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions