summaryrefslogtreecommitdiffstats
path: root/vppapigen
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2016-12-07 12:20:07 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2016-12-07 12:20:07 +0000
commitcd06b728920e7119582de4d9a09ac71034706b2a (patch)
treecdf2122db4bdd5510b3a337560bd5bfd4f2d6316 /vppapigen
parent288e8930ee7f1cf4980c06c167ef4e0cdf559528 (diff)
Fix coverity CIDs 157344, 157343, 157341, 157340, 157339, 157336
The macros used to verify the validity of sw_if_index passed in the API calls have puzzled coverity. Even though the issues are false positives, the checks are rather simple, so edited them to avoid using the preprocessor macros, it makes the code easier to follow. Added the null check for 157336. Change-Id: I24651346851215b236e53e682261e1f91219b381 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'vppapigen')
0 files changed, 0 insertions, 0 deletions