diff options
author | Andreas Schneider <asn@samba.org> | 2017-07-21 11:39:59 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2017-07-21 17:19:17 +0200 |
commit | 8fb7450712e94a6e1ceaddab4ac2a4d9670d715a (patch) | |
tree | 517d5466884e66e84af33a2f0666b16729f5fd36 | |
parent | 7386dc6dfa2e4b78e1616acbdff88efc8e089dd7 (diff) | |
download | uid_wrapper-8fb7450712e94a6e1ceaddab4ac2a4d9670d715a.tar.gz uid_wrapper-8fb7450712e94a6e1ceaddab4ac2a4d9670d715a.tar.xz uid_wrapper-8fb7450712e94a6e1ceaddab4ac2a4d9670d715a.zip |
uwrap: Fix logging on optimized build
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | src/uid_wrapper.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/uid_wrapper.c b/src/uid_wrapper.c index 0e9be96..bbd2c17 100644 --- a/src/uid_wrapper.c +++ b/src/uid_wrapper.c @@ -1333,9 +1333,7 @@ static int uwrap_setreuid_args(uid_t ruid, uid_t euid, static int uwrap_setreuid_thread(uid_t ruid, uid_t euid) { -#ifndef NDEBUG struct uwrap_thread *id = uwrap_tls_id; -#endif uid_t new_ruid = -1, new_euid = -1, new_suid = -1; int rc; @@ -1354,9 +1352,7 @@ static int uwrap_setreuid_thread(uid_t ruid, uid_t euid) #ifdef HAVE_SETREUID static int uwrap_setreuid(uid_t ruid, uid_t euid) { -#ifndef NDEBUG struct uwrap_thread *id = uwrap_tls_id; -#endif uid_t new_ruid = -1, new_euid = -1, new_suid = -1; int rc; @@ -1620,9 +1616,7 @@ static int uwrap_setregid_args(gid_t rgid, gid_t egid, static int uwrap_setregid_thread(gid_t rgid, gid_t egid) { -#ifndef NDEBUG struct uwrap_thread *id = uwrap_tls_id; -#endif gid_t new_rgid = -1, new_egid = -1, new_sgid = -1; int rc; @@ -1641,9 +1635,7 @@ static int uwrap_setregid_thread(gid_t rgid, gid_t egid) #ifdef HAVE_SETREGID static int uwrap_setregid(gid_t rgid, gid_t egid) { -#ifndef NDEBUG struct uwrap_thread *id = uwrap_tls_id; -#endif gid_t new_rgid = -1, new_egid = -1, new_sgid = -1; int rc; |