summaryrefslogtreecommitdiff
path: root/lib/json.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-05-08 23:00:52 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-05-10 18:33:22 -0400
commitba1707ca54638376f73dd7b9e55a183250af573f (patch)
treeb9f3de926464fd900c428c5383b2589ab381e7ca /lib/json.c
parent0852f7cc05c08d48f25dd03bb1ade8ebf43200dc (diff)
lib: in routemap.c if using a switch for an enum get rid of enum
From looking at a current PR: #4297, we see that routemap.c code was not properly updating dependency information for some route_map_event_t enum types. This has lead to dependancy information not being updated properly. While at this time I do not know whether or not we need to update the switch for the missing types, I do know that if we add something in the future we should make the person adding the code consider this. So let's remove all `default:` switch statement handlers from routemap.c when switching on an enum. Future time will need to be spent to figure out what is needed to be done here. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions