diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-08 11:16:40 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-08 11:33:52 +0200 |
commit | 0d34f828de4868b0ec4a8bb84a72121047879b1e (patch) | |
tree | 2cff02a854a12febe18b3075505eaba048ed6cc2 /tests/mock_guest.h | |
parent | 36c2fa1c16d1e7d9605018aab2b1c1af85c2a6bf (diff) | |
download | libpam-x2go-0d34f828de4868b0ec4a8bb84a72121047879b1e.tar.gz libpam-x2go-0d34f828de4868b0ec4a8bb84a72121047879b1e.tar.bz2 libpam-x2go-0d34f828de4868b0ec4a8bb84a72121047879b1e.zip |
src/pam-x2go.c: Mark unused function arguments as such.
This resolves:
pam-x2go.c:228:46: error: unused parameter 'flags' [-Werror,-Wunused-parameter]
pam_sm_authenticate (pam_handle_t *pamh, int flags, int argc, const char **argv)
^
pam-x2go.c:228:57: error: unused parameter 'argc' [-Werror,-Wunused-parameter]
pam_sm_authenticate (pam_handle_t *pamh, int flags, int argc, const char **argv)
^
pam-x2go.c:228:76: error: unused parameter 'argv' [-Werror,-Wunused-parameter]
pam_sm_authenticate (pam_handle_t *pamh, int flags, int argc, const char **argv)
^
pam-x2go.c:293:46: error: unused parameter 'flags' [-Werror,-Wunused-parameter]
pam_sm_open_session (pam_handle_t *pamh, int flags, int argc, const char ** argv)
^
pam-x2go.c:293:57: error: unused parameter 'argc' [-Werror,-Wunused-parameter]
pam_sm_open_session (pam_handle_t *pamh, int flags, int argc, const char ** argv)
^
pam-x2go.c:293:77: error: unused parameter 'argv' [-Werror,-Wunused-parameter]
pam_sm_open_session (pam_handle_t *pamh, int flags, int argc, const char ** argv)
^
pam-x2go.c:360:47: error: unused parameter 'flags' [-Werror,-Wunused-parameter]
pam_sm_close_session (pam_handle_t *pamh, int flags, int argc, const char **argv)
^
pam-x2go.c:360:58: error: unused parameter 'argc' [-Werror,-Wunused-parameter]
pam_sm_close_session (pam_handle_t *pamh, int flags, int argc, const char **argv)
^
pam-x2go.c:360:77: error: unused parameter 'argv' [-Werror,-Wunused-parameter]
pam_sm_close_session (pam_handle_t *pamh, int flags, int argc, const char **argv)
^
pam-x2go.c:440:31: error: unused parameter 'pamh' [-Werror,-Wunused-parameter]
pam_sm_setcred (pam_handle_t *pamh, int flags, int argc, const char ** argv)
^
pam-x2go.c:440:41: error: unused parameter 'flags' [-Werror,-Wunused-parameter]
pam_sm_setcred (pam_handle_t *pamh, int flags, int argc, const char ** argv)
^
pam-x2go.c:440:52: error: unused parameter 'argc' [-Werror,-Wunused-parameter]
pam_sm_setcred (pam_handle_t *pamh, int flags, int argc, const char ** argv)
^
pam-x2go.c:440:72: error: unused parameter 'argv' [-Werror,-Wunused-parameter]
pam_sm_setcred (pam_handle_t *pamh, int flags, int argc, const char ** argv)
^
13 errors generated.
Diffstat (limited to 'tests/mock_guest.h')
0 files changed, 0 insertions, 0 deletions