auth-pam.c was originally taken from FreeBSD, which has an __unused macro which corresponds to GCC's __attribute__((__unused__)). A blank definition of that macro was added to auth-pam.c to support platforms where it is not defined. This definition should be conditional on the non-existence of the macro, rather than unconditional. As it stands, it causes a warning on platforms which do have an __unused macro.
Created attachment 522 [details] only define __unused if it isn't already defined
Seems reasonable, but perhaps it should be moved to defines.h?
Fixed (in defines.h). Thanks.
Mass change of RESOLVED bugs to CLOSED