]> git.puffer.fish Git - matthieu/frr.git/commit
pimd: hash_get w/ hash_alloc_intern cannot fail
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 30 May 2018 13:42:24 +0000 (09:42 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 30 May 2018 13:42:24 +0000 (09:42 -0400)
commitc37e1f598b794c0a4f6b834c6be6642b9168fbbd
treeffebb3d8e25c9368965ae96f9a088415d94eb5df
parenta9bafa95d05789154aa9482d20aa73fb42ff3489
pimd: hash_get w/ hash_alloc_intern cannot fail

The assignment of sa with the usage of hash_get and hash_alloc_intern
can never fail.  No need to look for a failure case.

Found by Coverity SA.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_msdp.c