]> git.proxmox.com Git - mirror_frr.git/commit - lib/spf_backoff.c
lib: Remove default case statement from a enum driven switch
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 16 Aug 2018 17:59:27 +0000 (13:59 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 23 Aug 2018 12:36:07 +0000 (08:36 -0400)
commit496764bbfbf66980fd533669eb213b2777f94b6a
treefb806ba65ca0c3ec7bde16197e739272fd2648aa
parent07436e2a526ec10355eb8aa7efc6063d8eb5eeb5
lib: Remove default case statement from a enum driven switch

We are using a enum to drive a switch statement and we have
a default case statement that can never be entered because
we know all the enum states have been covered.  Remove it
from the code as that it cannot happen.

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