summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-11-07 04:35:41 +0000
committerRoger Dingledine <arma@torproject.org>2008-11-07 04:35:41 +0000
commitb32e600d5009b8cc4179f00f4656dd61f3566e24 (patch)
tree96f6d6bacdc26a0f96fc852e2a31e3888aacb5c4
parent14773f42a7b7fdc99393a9b703f7790078c8cbe6 (diff)
downloadtor-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
-rw-r--r--src/common/compat.c2
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