mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add KASSERT() and set error code in dead code case to help static code
analysis tools. Suggested by: ngie@ Sponsored by: Mellanox Technologies MFC after: 1 week
This commit is contained in:
parent
10a7a4bf44
commit
c3a74bf6d7
1 changed files with 2 additions and 0 deletions
|
|
@ -404,6 +404,8 @@ mcast:
|
|||
break;
|
||||
#endif
|
||||
default:
|
||||
KASSERT(0, ("rdma_addr_resolve: Unreachable"));
|
||||
error = EINVAL;
|
||||
break;
|
||||
}
|
||||
RTFREE(rte);
|
||||
|
|
|
|||
Loading…
Reference in a new issue