Re: [pacman-dev] [PATCH] Remove dead stores reported by clang-analyzer

2011-04-04 Thread Allan McRae
On 04/04/11 18:58, Xavier wrote: Allan McRae wrote: Please send patches to the list so that we can complain about issues like: aba191d5 (Xavier Chantry2011-04-03 10:28:09 +0200 276) printf("%lc", *p); util.c: In function ‘indentprint’: util.c:276:3: error: format ‘%lc’ expects argument o

Re: [pacman-dev] [PATCH] Remove dead stores reported by clang-analyzer

2011-04-04 Thread Xavier
Allan McRae wrote: > > Please send patches to the list so that we can complain about issues like: > > aba191d5 (Xavier Chantry2011-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’, > b

Re: [pacman-dev] [PATCH] Remove dead stores reported by clang-analyzer

2011-04-03 Thread Allan McRae
On 03/04/11 17:35, Xavier Chantry wrote: On Sun, Apr 3, 2011 at 8:14 AM, Sebastian Nowicki wrote: Signed-off-by: Sebastian Nowicki --- 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 th

Re: [pacman-dev] [PATCH] Remove dead stores reported by clang-analyzer

2011-04-03 Thread Sebastian Nowicki
On Sun, Apr 3, 2011 at 3:35 PM, Xavier Chantry wrote: > On Sun, Apr 3, 2011 at 8:14 AM, Sebastian Nowicki > wrote: > > Signed-off-by: Sebastian Nowicki > > --- > > lib/libalpm/be_local.c |2 +- > > lib/libalpm/pkghash.c |3 +-- > > 2 files changed, 2 insertions(+), 3 deletions(-) > > >

Re: [pacman-dev] [PATCH] Remove dead stores reported by clang-analyzer

2011-04-03 Thread Xavier Chantry
On Sun, Apr 3, 2011 at 8:14 AM, Sebastian Nowicki wrote: > Signed-off-by: Sebastian Nowicki > --- >  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,

[pacman-dev] [PATCH] Remove dead stores reported by clang-analyzer

2011-04-02 Thread Sebastian Nowicki
Signed-off-by: Sebastian Nowicki --- lib/libalpm/be_local.c |2 +- lib/libalpm/pkghash.c |3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c index 82c1d59..788b3c6 100644 --- a/lib/libalpm/be_local.c +++ b/lib/libalpm/be_