summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
Diffstat (limited to 'ace')
-rw-r--r--ace/OS.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/ace/OS.i b/ace/OS.i
index 44b8cadfe71..ea5987a3f75 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -11942,8 +11942,10 @@ ACE_OS::setuid (uid_t uid)
ACE_TRACE ("ACE_OS::setuid");
# if defined (VXWORKS) || defined (ACE_PSOS)
// setuid() is not supported: just one user anyways
+ ACE_UNUSED_ARG (uid);
return 0;
# elif defined (ACE_WIN32) || defined(CHORUS)
+ ACE_UNUSED_ARG (uid);
ACE_NOTSUP_RETURN (-1);
#else
ACE_OSCALL_RETURN (::setuid (uid), int, -1);