diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2021-01-26 13:58:34 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2021-01-26 14:13:07 -0300 |
| commit | 53a78fc1d9b900ae43333f755c9617a618989ae6 (patch) | |
| tree | f0f8b290154cb601ead74dcf55581bf66e83a0d3 /watchfrr/watchfrr_vty.c | |
| parent | b12bc77cd372f01a5cba52657dff7132bc5f9705 (diff) | |
watchfrr: fix SA warning
`valid_command` now causes static analyzer complaints since it no
longer assumes `optarg` is non-NULL. If this was the case then
`valid_command` would return `false` (or 0) because it would mean the
string is empty and doesn't contain the '%s' it expects.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'watchfrr/watchfrr_vty.c')
0 files changed, 0 insertions, 0 deletions
