[PATCH] examples/ptp_tap_relay_sw: forbid shadowed variables

Thomas Monjalon thomas at monjalon.net
Thu Jun 18 16:25:26 CEST 2026


By removing the compilation flag no_shadow_cflag,
it becomes forbidden to shadow a variable.

Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
 examples/ptp_tap_relay_sw/meson.build | 1 -
 1 file changed, 1 deletion(-)

diff --git a/examples/ptp_tap_relay_sw/meson.build b/examples/ptp_tap_relay_sw/meson.build
index e78b284ad8..f9fb6780f7 100644
--- a/examples/ptp_tap_relay_sw/meson.build
+++ b/examples/ptp_tap_relay_sw/meson.build
@@ -10,4 +10,3 @@ sources = files(
         'ptp_tap_relay_sw.c',
 )
 deps += ['net']
-cflags += no_shadow_cflag
-- 
2.54.0



More information about the dev mailing list