https://bugs.dpdk.org/show_bug.cgi?id=2140

            Bug ID: 2140
           Summary: net/mlx5: unreachable code
           Product: DPDK
           Version: 26.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Building with clang and -Wunreachable-code produces warning:

[1202/3982] Compiling C object
drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_verbs.c.o
../drivers/net/mlx5/mlx5_flow_verbs.c:92:7: warning: code will never be
executed [-Wunreachable-code]
   92 |         if (!drop->qp) {
      |              ^~~~
1 warning generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to