Remove dead code in networkstatus.c
commit1a181a476e623cd6c1bc71173bb2d3d769aa1325
authorDavid Goulet <dgoulet@torproject.org>
Wed, 25 Apr 2018 13:35:32 +0000 (25 09:35 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Wed, 25 Apr 2018 13:35:32 +0000 (25 09:35 -0400)
treedc9109aa866696157252408c05ce56e5a5925396
parenta052eea4803808d4da09ef8728de22344d1241be
Remove dead code in networkstatus.c

We can't end up in the removed else {} condition since we first validate the
flavor we get and then we validate the flavor we parse from the given
consensus which means we can only handle the two flavors of the if/elseif
conditions.

Fixes #25914

Signed-off-by: David Goulet <dgoulet@torproject.org>
src/or/networkstatus.c