From ff94358e54442c7dae0458ff6f2cee05c90b9247 Mon Sep 17 00:00:00 2001 From: Rafael Zalamena Date: Wed, 29 Apr 2020 15:28:38 -0300 Subject: lib: fix rebase conflicts Changes: - Remove unused variable. - Make prototypes static like the declaration. - Fix new compilers complaint about uninitialized values. - Fix new compilers complaint about small buffer for `snprintf` concatenation. Signed-off-by: Rafael Zalamena --- lib/filter_cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/filter_cli.c') diff --git a/lib/filter_cli.c b/lib/filter_cli.c index 92230f176e..1e6d44d27f 100644 --- a/lib/filter_cli.c +++ b/lib/filter_cli.c @@ -1126,7 +1126,7 @@ DEFPY( int64_t sseq; char xpath[XPATH_MAXLEN]; char xpath_entry[XPATH_MAXLEN + 32]; - char xpath_value[XPATH_MAXLEN + 64]; + char xpath_value[XPATH_MAXLEN + 128]; /* * Create the prefix-list first, so we can generate sequence if @@ -1310,7 +1310,7 @@ DEFPY( int64_t sseq; char xpath[XPATH_MAXLEN]; char xpath_entry[XPATH_MAXLEN + 32]; - char xpath_value[XPATH_MAXLEN + 64]; + char xpath_value[XPATH_MAXLEN + 128]; /* * Create the prefix-list first, so we can generate sequence if -- cgit v1.2.3