[PATCH 2/2] mempool: fix unused warning with MSVC

Tyler Retzlaff roretzla at linux.microsoft.com
Mon Apr 1 19:22:09 CEST 2024


On Mon, Apr 01, 2024 at 10:01:53AM -0700, Stephen Hemminger wrote:
> Applying __rte_unused to a variable has no effect with MS
> windows compiler. The temporary variable used if debug
> enabled can just be eliminated.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>



More information about the dev mailing list