mirror of
https://github.com/haproxy/haproxy.git
synced 2026-07-05 23:39:16 -04:00
Regularly when disabling features (e.g. traces), some macros that would make use of some arguments end up not consuming them at all, making the compiler complain that "variable foo defined but not used". An elegant way to generically mark arguments as used is to pass them to a variadic function. However a first argument is needed. So we create a macro that passes (0, __VA_ARGS__) to an inline function that does nothing from its arguments, and that's done. |
||
|---|---|---|
| .. | ||
| haproxy | ||
| import | ||
| make | ||