[pacman-dev] [PATCH 1/2] pactree: consolidate both walk_deps functions

Allan McRae allan at archlinux.org
Sun Jul 15 04:08:10 EDT 2012


On 03/07/12 12:51, Andrew Gregory wrote:
> Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
> ---


pactree.c: In function ‘walk_deps’:
pactree.c:397:80: error: declaration of ‘reverse’ shadows a global
declaration [-Werror=shadow]
 static void walk_deps(alpm_list_t *dblist, alpm_pkg_t *pkg, tdepth
*depth, int reverse)

        ^
pactree.c:101:5: error: shadowed declaration is here [-Werror=shadow]
 int reverse = 0;
     ^
cc1: all warnings being treated as errors


Fixed and pushed to my working branch.

Allan




More information about the pacman-dev mailing list