diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2020-04-29 15:28:38 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2020-06-05 14:36:52 -0300 |
| commit | ff94358e54442c7dae0458ff6f2cee05c90b9247 (patch) | |
| tree | 914422221096ba92c49813ff74dec0620f7106f5 /lib/filter_cli.c | |
| parent | fb8884f355d6db9626fb78c99efd26d479404376 (diff) | |
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 <rzalamena@opensourcerouting.org>
Diffstat (limited to 'lib/filter_cli.c')
| -rw-r--r-- | lib/filter_cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
