[PATCH v3 27/31] app/test-pipeline: remove unnecessary variable

Bruce Richardson
2025-12-01T11:48:13Z

The second definition of a variable called "ret" in the main function is
unnecessary and causes variable shadowing warnings, so just eliminate
it.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
---
app/test-pipeline/main.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/app/test-pipeline/main.c b/app/test-pipeline/main.c
index 4cc098d7ac..e5efafdf28 100644
--- a/app/test-pipeline/main.c
+++ b/app/test-pipeline/main.c
@@ -89,7 +89,6 @@ main(int argc, char **argv)
/* Close ports */
for (i = 0; i < app.n_ports; i++) {
uint16_t port;
- int ret;

port = app.ports[i];
printf("Closing port %d...", port);
--
2.51.0