Преглед изворни кода

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


svn:r17205

Roger Dingledine пре 17 година
родитељ
комит
b32e600d50
1 измењених фајлова са 1 додато и 1 уклоњено
  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