[syslinux] [PATCH 1/2] linux/syslinux.c: Silence warnings
H. Peter Anvin
hpa at zytor.com
Sat Jun 19 17:01:41 PDT 2010
On 06/19/2010 05:11 AM, Gene Cumm wrote:
> From: Gene Cumm<gene.cumm at gmail.com>
>
> linux/syslinux.c: Silence warnings from GCC with asprintf's attribute
> warn_unused_result in certain glibc versions/patches. Assign it to a
> variable and ignore it as the string is already tested for null before
> using it.
>
> Signed-off-by: Gene Cumm<gene.cumm at gmail.com>
>
Okay, what *blithering idiot* put warn_unused_result on *asprintf*?!!!!
-hpa
More information about the Syslinux
mailing list