github-actions[bot] commented on code in PR #15175: URL: https://github.com/apache/doris/pull/15175#discussion_r1055149588
########## be/src/vec/exec/vjson_scanner.cpp: ########## @@ -140,8 +140,8 @@ if (_cur_vjson_reader != nullptr) { _cur_vjson_reader.reset(); } - std::string json_root; - std::string jsonpath; + std::string json_root = ""; + std::string jsonpath = ""; Review Comment: warning: redundant string initialization [readability-redundant-string-init] ```suggestion std::string jsonpath; ``` ########## be/src/vec/exec/vjson_scanner.cpp: ########## @@ -140,8 +140,8 @@ Status VJsonScanner<JsonReader>::_open_vjson_reader() { if (_cur_vjson_reader != nullptr) { _cur_vjson_reader.reset(); } - std::string json_root; - std::string jsonpath; + std::string json_root = ""; Review Comment: warning: redundant string initialization [readability-redundant-string-init] ```suggestion std::string json_root; ``` -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org