github-actions[bot] commented on code in PR #16084: URL: https://github.com/apache/doris/pull/16084#discussion_r1081338676
########## be/src/util/mem_info.cpp: ########## @@ -47,6 +47,7 @@ int64_t MemInfo::_s_physical_mem = -1; int64_t MemInfo::_s_mem_limit = -1; std::string MemInfo::_s_mem_limit_str = ""; int64_t MemInfo::_s_soft_mem_limit = -1; +std::string MemInfo::_s_soft_mem_limit_str = ""; Review Comment: warning: redundant string initialization [readability-redundant-string-init] ```suggestion std::string MemInfo::_s_soft_mem_limit_str; ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
