Re: [PATCH] wt-status.c: disable those distracting -Wformat-zero-length warnings

2013-12-21 Thread Samuel Bronson
On Sat, Dec 21, 2013 at 4:42 AM, Jeff King wrote: > On Fri, Dec 20, 2013 at 10:45:01AM -0500, Samuel Bronson wrote: > >> These warnings don't really seem to make much sense for this file. > > Agreed, though the advice so far has been to put -Wno-format-zero-length > in your CFLAGS. Yes, auto-dete

Re: [PATCH] wt-status.c: disable those distracting -Wformat-zero-length warnings

2013-12-21 Thread Jeff King
On Fri, Dec 20, 2013 at 10:45:01AM -0500, Samuel Bronson wrote: > These warnings don't really seem to make much sense for this file. Agreed, though the advice so far has been to put -Wno-format-zero-length in your CFLAGS. > +/* We have good reasons for using zero-length format strings, and > + *

[PATCH] wt-status.c: disable those distracting -Wformat-zero-length warnings

2013-12-20 Thread Samuel Bronson
These warnings don't really seem to make much sense for this file. Signed-off-by: Samuel Bronson --- wt-status.c | 5 + 1 file changed, 5 insertions(+) diff --git a/wt-status.c b/wt-status.c index 4e55810..542cc65 100644 --- a/wt-status.c +++ b/wt-status.c @@ -17,6 +17,11 @@ #include "strb