summaryrefslogtreecommitdiff
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-01-14 16:29:18 -0200
committerRenato Westphal <renato@opensourcerouting.org>2019-01-14 16:30:39 -0200
commitec348d4344da548a3b7b22f644953e5fa275c1df (patch)
tree5be2a760f54d1326fc43f33ee5b81d4cfbce1d6a /lib/lib_errors.c
parente4587bc559f863428b3380648e3ab157eb31dee8 (diff)
lib: fix "may be used uninitialized" build warning
We are already handling all possible four cases from the "nb_event" enumeration, so this problem can't happen in practice. Initialize the "ref" variable to zero to silence the warning. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions