http://bugzilla.mindrot.org/show_bug.cgi?id=783 Summary: __unused nit Product: Portable OpenSSH Version: -current Platform: All OS/Version: FreeBSD Status: NEW Severity: normal Priority: P2 Component: PAM support AssignedTo: openssh-bugs at mindrot.org ReportedBy: des at freebsd.org 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. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=783 ------- Additional Comments From des at freebsd.org 2004-01-07 00:16 ------- Created an attachment (id=522) --> (http://bugzilla.mindrot.org/attachment.cgi?id=522&action=view) only define __unused if it isn't already defined ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=783 ------- Additional Comments From dtucker at zip.com.au 2004-01-07 12:33 ------- Seems reasonable, but perhaps it should be moved to defines.h? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
http://bugzilla.mindrot.org/show_bug.cgi?id=783 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From dtucker at zip.com.au 2004-01-08 05:33 ------- Fixed (in defines.h). Thanks. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Reasonably Related Threads
- [Bug 1562] New: EXPAND_MAX_KEYS in percent_expand is actually (EXPAND_MAX_KEYS - 1)
- [Bug 2140] New: Capsicum support for FreeBSD 10 (-current)
- [Bug 2948] New: implement "copy-data" sftp extension
- [Bug 252] Patch for use of /etc/default/login
- [Bug 2039] New: Give proper credits for ECDSA patch