vppinfra: selectively disable false-positive GCC-10 warnings 13/28413/1
authorBenoît Ganne <bganne@cisco.com>
Fri, 24 Apr 2020 09:32:13 +0000 (11:32 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 13 Aug 2020 17:20:47 +0000 (17:20 +0000)
commitd549129538b65eee8549237ea2aaf7d59d89da2f
treed40dd377ef876a1ae8fe520e62ea0ed3b3afd97e
parent44d5dd7c1e6b150c21242ca1161762841dc78afb
vppinfra: selectively disable false-positive GCC-10 warnings

GCC-10 increase overflows-related warnings but failed to infer that
b->n_cached_bytes is always < sizeof(uword).

Type: fix

Change-Id: I956ae609abc9e39d4a932e5801510999d7d27b79
Signed-off-by: Benoît Ganne <bganne@cisco.com>
(cherry picked from commit ffbcf6178891bd68a97543ac91d28f37256d5e13)
src/vppinfra/random_buffer.h