Explorar o código

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


svn:r17205

Roger Dingledine %!s(int64=17) %!d(string=hai) anos
pai
achega
b32e600d50
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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