Fix shadow declaration warnings. accepted/tizen_6.5_unified accepted/tizen_7.0_unified_hotfix tizen_6.5 tizen_7.0_hotfix accepted/tizen/6.5/unified/20211028.225519 accepted/tizen/7.0/unified/20221110.060254 accepted/tizen/7.0/unified/hotfix/20221116.112222 accepted/tizen/unified/20210926.235752 submit/tizen/20210924.180757 submit/tizen_6.5/20211028.164101 tizen_6.5.m2_release tizen_7.0_m2_release
authorMikhail Kurinnoi <m.kurinnoi@samsung.com>
Fri, 24 Sep 2021 13:44:39 +0000 (06:44 -0700)
committerAlexander Soldatov/Platform Lab /SRR/Staff Engineer/Samsung Electronics <soldatov.a@samsung.com>
Fri, 24 Sep 2021 14:23:10 +0000 (17:23 +0300)
profctl.c

index 1ee9760..48978df 100644 (file)
--- 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 */