Browse Source

while we're cleaning code, get rid of some unreachable code at
the bottom of switch_id


svn:r17205

Roger Dingledine 17 years ago
parent
commit
b32e600d50
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/common/compat.c

+ 1 - 1
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