Suppress maybe uninitialized warning in gcc-9

This commit is contained in:
take-cheeze 2020-03-05 01:07:36 +09:00 committed by Changming Sun
parent ef8768a53f
commit 83753bcbe3

View file

@ -140,7 +140,7 @@ Status Path::Parse(const PathString& original_path_str, Path& path) {
const PathString path_str = NormalizePathSeparators(original_path_str);
// parse root
size_t root_length;
size_t root_length = 0;
ORT_RETURN_IF_ERROR(ParsePathRoot(
path_str, result.root_name_, result.has_root_dir_, root_length));