Ticket #3539: fix reported -Wshadow warning with gcc 4.6.x
commitb457921fda7d1c4a6c7f2487c7ad2cb38cc28002
authorAndreas Mohr <and@gmx.li>
Wed, 21 Oct 2015 18:08:22 +0000 (21 21:08 +0300)
committerSlava Zanko <v.zanko@godeltech.com>
Thu, 5 Nov 2015 11:33:21 +0000 (5 14:33 +0300)
treeb8925a782d422973aca598eae098157047aa715b
parent3e622b822e00f859fdf278a65f88833437039a7c
Ticket #3539: fix reported -Wshadow warning with gcc 4.6.x

src/filemanager/dir.c: In function 'dir_list_grow':
src/filemanager/dir.c:263:14: warning: declaration of 'clear' shadows a global declaration [-Wshadow]

src/viewer/datasource.c: In function 'mcview_load_command_output':
src/viewer/datasource.c:398:16: warning: declaration of 'pipe' shadows a global declaration [-Wshadow]

(This not occur with gcc 4.7 or higher).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/filemanager/dir.c
src/viewer/datasource.c