examples/ptp_tap_relay_sw: forbid shadowed variables
PATCH 1/1 examples/ptp_tap_relay_sw: forbid shadowed variables
By removing the compilation flag no_shadow_cflag,
it becomes forbidden to shadow a variable.
Signed-off-by Thomas Monjalon <[email protected]>
--- examples/ptp_tap_relay_sw/meson.build | 1 - 1 file changed, 1 deletion(-)
examples/ptp_tap_relay_sw/meson.build +0 -1
@@ -10,4 +10,3 @@ sources = files( 'ptp_tap_relay_sw.c', ) deps += ['net'] -cflags += no_shadow_cflag
Signature · 1 line
2.54.0
Quoted 5 lines · On Thu, 18 Jun 2026 16:25:26 +0200 Thomas Monjalon <[email protected]> wrote:
By removing the compilation flag
no_shadow_cflag,
it becomes forbidden to shadow a variable.Signed-off-by Thomas Monjalon <[email protected]>---
Thanks, example did not exist when the first pass was done.
Thomas Monjalon
Applied18/06/2026 22:05, Stephen Hemminger:
Quoted 6 lines
Quoted 3 lines · On Thu, 18 Jun 2026 16:25:26 +0200 Thomas Monjalon <[email protected]> wrote:
By removing the compilation flag
no_shadow_cflag,
it becomes forbidden to shadow a variable.
Quoted 6 lines
Quoted 2 lines
Signed-off-by Thomas Monjalon <[email protected]>---
Thanks, example did not exist when the first pass was done.
Applied