Re: [PATCH 2/2] http-backend: Let gcc check the format of more printf-type functions.
Tarmigan Casebolt <tarmigan+git@gmail.com> wrote:
Show 9 quoted lines
> We already have these checks in many printf-type functions that have
> prototypes which are in header files. Add these same checks to
> static functions in http-backend.c
>
> Signed-off-by: Tarmigan Casebolt <tarmigan+git@gmail.com>
> ---
>
> Shawn, please consider this patch in addition to the one that you posted
> that actually fixes the bug. With this patch, gcc will warn about that bug.
Yup, it would have caught it, thanks.
Acked-by: Shawn O. Pearce <spearce@spearce.org>
--
Shawn.