Re: [patch] Misc warnings found by clang.

2010-06-15 Thread Dimitry Andric
On 2010-06-15 00:08, Max Laier wrote: > I'm not sure about the intention behind the len assignements in libugidfw - > might be just a leftover - but if the idea is to teach a model that "we > generally care about the return value of snprintf()", a void cast might be > the > more protable soluti

Re: [patch] Misc warnings found by clang.

2010-06-14 Thread Max Laier
On Monday 14 June 2010 23:22:42 Pawel Worach wrote: > Here is a patch that fixes a couple of "warning: format string is not a > string literal" and a couple of unused/never read variable "len" warnings > in lib/libugidfw. I'm not sure about the intention behind the len assignements in libugidfw -

[patch] Misc warnings found by clang.

2010-06-14 Thread Pawel Worach
Here is a patch that fixes a couple of "warning: format string is not a string literal" and a couple of unused/never read variable "len" warnings in lib/libugidfw. http://pes.vlakno.cz/~pwo/clang-warn-fix-head.diff Regards -- Pawel ___ freebsd-curre