Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Pacman Development (http://www.linux-archive.org/archlinux-pacman-development/)
-   -   Remove dead stores reported by clang-analyzer (http://www.linux-archive.org/archlinux-pacman-development/509494-remove-dead-stores-reported-clang-analyzer.html)

Allan McRae 04-03-2011 11:17 PM

Remove dead stores reported by clang-analyzer
 
On 03/04/11 17:35, Xavier Chantry wrote:

On Sun, Apr 3, 2011 at 8:14 AM, Sebastian Nowicki<sebnow@gmail.com> wrote:

Signed-off-by: Sebastian Nowicki<sebnow@gmail.com>
---
lib/libalpm/be_local.c | 2 +-
lib/libalpm/pkghash.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)



I didn't send these yesterday to the ML as they looked trivial enough,
but maybe I should have.
http://code.toofishes.net/cgit/xavier/pacman.git/log/?h=working



Please send patches to the list so that we can complain about issues like:

aba191d5 (Xavier Chantry 2011-04-03 10:28:09 +0200 276)
printf("%lc", *p);


util.c: In function ‘indentprint’:
util.c:276:3: error: format ‘%lc’ expects argument of type ‘wint_t’, but
argument 2 has type ‘wchar_t’ [-Werror=format]

cc1: all warnings being treated as errors


Allan


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

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.