diff options
| author | Mark Stapp <mjs@labn.net> | 2022-12-19 11:36:03 -0500 |
|---|---|---|
| committer | Mark Stapp <mjs@labn.net> | 2022-12-19 11:36:03 -0500 |
| commit | 040ca770971e58d56a96f89d792044d755e4cfe5 (patch) | |
| tree | 28e2728811381e70daa81173794410dd530f18a9 /pathd | |
| parent | a2f9eb5ccab03677c54f517d4e74dd3c1d30d377 (diff) | |
pathd: fix SA warning in path_pcep_config
Fix an SA warning about a possibly-uninited local.
Signed-off-by: Mark Stapp <mjs@labn.net>
Diffstat (limited to 'pathd')
| -rw-r--r-- | pathd/path_pcep_config.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pathd/path_pcep_config.c b/pathd/path_pcep_config.c index 99b1c349a9..873b0ccd37 100644 --- a/pathd/path_pcep_config.c +++ b/pathd/path_pcep_config.c @@ -453,8 +453,7 @@ int path_pcep_config_update_path(struct path *path) } if (number_of_sid_clashed) - SET_FLAG(segment->segment_list->flags, - F_SEGMENT_LIST_SID_CONFLICT); + SET_FLAG(segment_list->flags, F_SEGMENT_LIST_SID_CONFLICT); else srte_apply_changes(); |
