mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Suppress maybe uninitialized warning in gcc-9
This commit is contained in:
parent
ef8768a53f
commit
83753bcbe3
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue