aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/valloc.h
diff options
context:
space:
mode:
authorNeale Ranns <neale@graphiant.com>2022-01-09 13:24:47 +0000
committerDamjan Marion <dmarion@me.com>2022-01-09 14:32:30 +0000
commit9d33cfc0bc1928f0b4c8aa95c170cf91ee8011a0 (patch)
treeecf02868928c67abaa349c36fbe406f93dd47a83 /src/vppinfra/valloc.h
parent221be7c03f8daf5b9c00b2509ebbf2c6e7e6232d (diff)
vppinfra: Check for NULL vec before the backwards iteration
Type: improvement 'vec_end(v) - 1' does not yield a good starting point. Check for NULL vec before the loop, so the user does not have to. Signed-off-by: Neale Ranns <neale@graphiant.com> Change-Id: Ia174ec8095bc476853cce709a7048d7a3e3b377d
Diffstat (limited to 'src/vppinfra/valloc.h')
0 files changed, 0 insertions, 0 deletions