search for: c891b87

Displaying 1 result from an estimated 1 matches for "c891b87".

Did you mean: 689187
2010 Jun 19
1
[PATCH 1/2] linux/syslinux.c: Silence warnings
...intf'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> --- diff --git a/libinstaller/setadv.c b/libinstaller/setadv.c index c891b87..e9847e7 100644 --- a/libinstaller/setadv.c +++ b/libinstaller/setadv.c @@ -182,8 +182,9 @@ int read_adv(const char *path, const char *cfg) int fd = -1; struct stat st; int err = 0; + int ret; - asprintf(&file, "%s%s%s", + ret = asprintf(&file, "%s%s%...