FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 07-15-2012, 08:08 AM
Allan McRae
 
Default pactree: consolidate both walk_deps functions

On 03/07/12 12:51, Andrew Gregory wrote:
> Signed-off-by: Andrew Gregory <andrew.gregory.8@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
 

Thread Tools




All times are GMT. The time now is 01:22 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org