remove warning

This commit is contained in:
Laurent Perron
2021-12-22 09:53:00 +01:00
parent bd1b682010
commit 83f331cca5

View File

@@ -113,7 +113,8 @@ static void VLOG2Initializer() {
// Can now parse --vmodule flag and initialize mapping of module-specific
// logging levels.
inited_vmodule = false;
const char* vmodule = absl::GetFlag(FLAGS_vmodule).c_str();
const std::string vmodule_flag = absl::GetFlag(FLAGS_vmodule);
const char* vmodule = vmodule_flag.c_str();
const char* sep;
VModuleInfo* head = NULL;
VModuleInfo* tail = NULL;