]> The Tcpdump Group git mirrors - libpcap/commit
Remove unreachable return statements.
authorGuy Harris <[email protected]>
Sat, 15 Sep 2018 08:56:03 +0000 (01:56 -0700)
committerGuy Harris <[email protected]>
Sat, 15 Sep 2018 08:56:03 +0000 (01:56 -0700)
commita22fdd77b5c22a2a7b208ce515c46f9fe1730c6d
tree0634514e903d3c7180cea6fcdd8c572937a75bf6
parent02f874d5d573acfc9316508f3c65ce8ac12e7884
Remove unreachable return statements.

error() never returns, so code that follows an error() is unreachable.

Newer compilers support flagging routines as not returning, so the
compiler won't warn of main() not returning a value.
testprogs/can_set_rfmon_test.c
testprogs/reactivatetest.c