Displaying 1 result from an estimated 1 matches for "2b82b33".
Did you mean:
2.8233
2010 Jun 19
0
[PATCH] mtools/syslinux.c: Silence warnings
...ith 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>
---
diff --git a/mtools/syslinux.c b/mtools/syslinux.c
index 2b82b33..3307833 100644
--- a/mtools/syslinux.c
+++ b/mtools/syslinux.c
@@ -142,6 +142,7 @@ int main(int argc, char *argv[])
const char *errmsg;
int ldlinux_sectors, patch_sectors;
int i;
+ int ret;
int force = 0; /* -f (force) option */
int stupid = 0; /...