diff options
author | Roger Dingledine <arma@torproject.org> | 2008-11-07 04:35:41 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-11-07 04:35:41 +0000 |
commit | b32e600d5009b8cc4179f00f4656dd61f3566e24 (patch) | |
tree | 96f6d6bacdc26a0f96fc852e2a31e3888aacb5c4 /src/common/compat.c | |
parent | 14773f42a7b7fdc99393a9b703f7790078c8cbe6 (diff) | |
download | tor-b32e600d5009b8cc4179f00f4656dd61f3566e24.tar.gz tor-b32e600d5009b8cc4179f00f4656dd61f3566e24.zip |
while we're cleaning code, get rid of some unreachable code at
the bottom of switch_id
svn:r17205
Diffstat (limited to 'src/common/compat.c')
-rw-r--r-- | src/common/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index e8b7ab54a7..763a7c95b8 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -1126,11 +1126,11 @@ switch_id(const char *user) #else (void)user; -#endif log_warn(LD_CONFIG, "User specified but switching users is unsupported on your OS."); return -1; +#endif } #ifdef HAVE_PWD_H |