]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
while we're cleaning code, get rid of some unreachable code at
authorRoger Dingledine <arma@torproject.org>
Fri, 7 Nov 2008 04:35:41 +0000 (04:35 +0000)
committerRoger Dingledine <arma@torproject.org>
Fri, 7 Nov 2008 04:35:41 +0000 (04:35 +0000)
the bottom of switch_id

svn:r17205

src/common/compat.c

index e8b7ab54a7da02e164b1234581e32e865c5a0626..763a7c95b8d28db2653bdbf648ae7a09273c47ff 100644 (file)
@@ -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