From: Mikhail Kurinnoi Date: Fri, 24 Sep 2021 13:44:39 +0000 (-0700) Subject: Fix shadow declaration warnings. X-Git-Tag: submit/tizen/20210924.180757^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_6.5_unified;p=sdk%2Ftools%2Fprofctl.git Fix shadow declaration warnings. --- 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 */