Skip to content

Commit

Permalink
minor fixes for compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Apr 11, 2024
1 parent 53c0cff commit d1c6c6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -6527,7 +6527,7 @@ printf "%s\n" "$ax_cv_cc_weverything_flag" >&6; }
-Wno-conversion \
-Wno-covered-switch-default \
-Wno-documentation-unknown-command \
-Wno-extended-offsetof \
-Wno-invalid-offsetof \
-Wno-gnu-empty-initializer \
-Wno-gnu-statement-expression \
-Wno-gnu-zero-variadic-macro-arguments \
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ if test "x$developer" = "xyes"; then
-Wno-conversion \
-Wno-covered-switch-default \
-Wno-documentation-unknown-command \
-Wno-extended-offsetof \
-Wno-invalid-offsetof \
-Wno-gnu-empty-initializer \
-Wno-gnu-statement-expression \
-Wno-gnu-zero-variadic-macro-arguments \
Expand Down
3 changes: 1 addition & 2 deletions src/pam_radius_auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ static int _pam_parse(int argc, CONST char **argv, radius_conf_t *conf)
* @param[in] data Associate some data with the handle pamh
* @param[in] error_status used to indicate to the module the sort of action it
*/
static void _int_free(UNUSED pam_handle_t *pamh, UNUSED void *data, UNUSED int error_status)
static void _int_free(UNUSED pam_handle_t *pamh, void *data, UNUSED int error_status)
{
free(data);
}
Expand Down Expand Up @@ -1750,7 +1750,6 @@ PAM_EXTERN int pam_sm_close_session(pam_handle_t *pamh, int flags, int argc, CON

#undef PAM_FAIL_CHECK
#define PAM_FAIL_CHECK if (retval != PAM_SUCCESS) { return retval; }
#define MAX_PASSWD_TRIES 3

PAM_EXTERN int pam_sm_chauthtok(pam_handle_t *pamh, int flags, int argc, CONST char **argv)
{
Expand Down

0 comments on commit d1c6c6d

Please sign in to comment.