Skip to contentSkip to conversation

examples/timer: unreachable code

DPDK/examples Bug 2146 [email protected] 1 participant 1 message Nov 17

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 2146
           Summary: examples/timer: unreachable code
           Product: DPDK
           Version: 26.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: examples
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

Building with clang and -Wunreachable-code shows problem in timer example.

[3749/3982] Compiling C object examples/dpdk-timer.p/timer_main.c.o ../examples/timer/main.c:126:2: warning: code will never be executed [-Wunreachable-code]

  126 |         (void) lcore_mainloop(NULL);
      |         ^      ~~~~~~~~~~~~~~~~~~~~

1 warning generated.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.