summaryrefslogtreecommitdiff
path: root/watchfrr/watchfrr_vty.c
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2021-01-26 13:58:34 -0300
committerRafael Zalamena <rzalamena@opensourcerouting.org>2021-01-26 14:13:07 -0300
commit53a78fc1d9b900ae43333f755c9617a618989ae6 (patch)
treef0f8b290154cb601ead74dcf55581bf66e83a0d3 /watchfrr/watchfrr_vty.c
parentb12bc77cd372f01a5cba52657dff7132bc5f9705 (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