s3:smbd: variables in a main() don't need to be static
authorStefan Metzmacher <metze@samba.org>
Thu, 8 Jan 2009 11:00:15 +0000 (12:00 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 8 Jan 2009 11:22:21 +0000 (12:22 +0100)
metze

source3/smbd/server.c

index 6241e96f77587972200224738a17b898862cfd5e..26c9b62dce90ae0b4266901ea6a748270585e0a8 100644 (file)
@@ -1103,13 +1103,13 @@ extern void build_options(bool screen);
  int main(int argc,const char *argv[])
 {
        /* shall I run as a daemon */
-       static bool is_daemon = False;
-       static bool interactive = False;
-       static bool Fork = True;
-       static bool no_process_group = False;
-       static bool log_stdout = False;
-       static char *ports = NULL;
-       static char *profile_level = NULL;
+       bool is_daemon = false;
+       bool interactive = false;
+       bool Fork = true;
+       bool no_process_group = false;
+       bool log_stdout = false;
+       char *ports = NULL;
+       char *profile_level = NULL;
        int opt;
        poptContext pc;
        bool print_build_options = False;