]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: config.cc: de-globalize show_config
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 1 Feb 2011 16:13:27 +0000 (08:13 -0800)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 1 Feb 2011 16:13:27 +0000 (08:13 -0800)
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
src/config.cc

index 3b3cc2c39b1c2bfed6598535e098f630fa02a359..5ab95ddf9de723e6692b4e4a7d6269e04e595b1f 100644 (file)
@@ -42,8 +42,6 @@
 #include "auth/ExportControl.h"
 #include "auth/Auth.h"
 
-static bool show_config = false;
-
 static ConfFile *cf = NULL;
 static ExportControl *ec = NULL;
 
@@ -1086,6 +1084,7 @@ bool is_bool_param(const char *param)
 
 void parse_startup_config_options(std::vector<const char*>& args, const char *module_type)
 {
+  bool show_config = false;
   DEFINE_CONF_VARS(NULL);
   std::vector<const char *> nargs;
   bool conf_specified = false;