Some variables are only used when compiling with IDENT or PAM support
or when the debug code is enabled. Mark them as "unused" so that gcc
doesn't generate warnings when neither of these options is enabled.
* @param User User name to set.
*/
GLOBAL void
-Client_SetOrigUser(CLIENT *Client, const char *User) {
+Client_SetOrigUser(CLIENT UNUSED *Client, const char UNUSED *User) {
assert(Client != NULL);
assert(User != NULL);
GLOBAL void
-Log_Init_Subprocess(char *Name)
+Log_Init_Subprocess(char UNUSED *Name)
{
#ifdef SYSLOG
openlog( PACKAGE_NAME, LOG_CONS|LOG_PID, LOG_LOCAL5 );
GLOBAL void
-Log_Exit_Subprocess(char *Name)
+Log_Exit_Subprocess(char UNUSED *Name)
{
#ifdef DEBUG
Log_Subprocess(LOG_DEBUG, "%s sub-process %ld done.",