summaryrefslogtreecommitdiff
path: root/lib/zlog_5424_cli.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2024-10-17 07:38:28 -0400
committerGitHub <noreply@github.com>2024-10-17 07:38:28 -0400
commit466efab870d20ba4cfde3a27f80ae3dcfa96c84a (patch)
tree529dc019ee2639e6c2c8606c09b813c2001114be /lib/zlog_5424_cli.c
parent5fecb1f425507eb216abbf0424d7430640469b55 (diff)
parentb5f196c35a6d24a826fc087ce9de04af88ffb42b (diff)
Merge pull request #17136 from opensourcerouting/clang-sa-19
*: fix clang-19 SA
Diffstat (limited to 'lib/zlog_5424_cli.c')
-rw-r--r--lib/zlog_5424_cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zlog_5424_cli.c b/lib/zlog_5424_cli.c
index 3003df542f..f97c426463 100644
--- a/lib/zlog_5424_cli.c
+++ b/lib/zlog_5424_cli.c
@@ -674,6 +674,7 @@ static int log_5424_config_write(struct vty *vty)
vty_out(vty, "log extended %s\n", cfg->name);
+ (void)fmt_str; /* clang-SA */
switch (cfg->cfg.fmt) {
case ZLOG_FMT_5424:
fmt_str = " format rfc5424";