From 86e997ecc5b57f4913711b74726ea5a701a48a43 Mon Sep 17 00:00:00 2001 From: Mikhail Kurinnoi Date: Fri, 24 Sep 2021 06:44:39 -0700 Subject: [PATCH] Fix shadow declaration warnings. --- profctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profctl.c b/profctl.c index 1ee9760..48978df 100644 --- a/profctl.c +++ b/profctl.c @@ -454,7 +454,7 @@ static int openFileProcess() _exit(EXIT_FAILURE); } - int pipesz = set_pipe_size(id, DEFAULT_PIPE_SIZE); + pipesz = set_pipe_size(id, DEFAULT_PIPE_SIZE); if (verbose && pipesz > 0) log_message("set pipe size to %d bytes", pipesz); if (dup2(id, STDIN_FILENO) == -1) { /* stdin */ -- 2.34.1