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 <[email protected]>
---
 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.48.1

Reply via email to