Blame SOURCES/findutils-4.5.13-warnings.patch
|
|
a1c266 |
From 690d4bd9f29a805999a3ce4651dac9585ccc9917 Mon Sep 17 00:00:00 2001
|
|
|
a1c266 |
From: Kamil Dudka <kdudka@redhat.com>
|
|
|
a1c266 |
Date: Wed, 11 May 2011 16:46:57 +0200
|
|
|
a1c266 |
Subject: [PATCH] findutils-4.5.7-warnings.patch
|
|
|
a1c266 |
|
|
|
a1c266 |
---
|
|
|
a1c266 |
xargs/xargs.c | 3 ++-
|
|
|
a1c266 |
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
a1c266 |
|
|
|
a1c266 |
diff --git a/xargs/xargs.c b/xargs/xargs.c
|
|
|
a1c266 |
index 5e373f2..c0a8676 100644
|
|
|
a1c266 |
--- a/xargs/xargs.c
|
|
|
a1c266 |
+++ b/xargs/xargs.c
|
|
|
a1c266 |
@@ -1299,7 +1299,8 @@ xargs_do_exec (struct buildcmd_control *ctl, void *usercontext, int argc, char *
|
|
|
a1c266 |
* utility if we run it, for POSIX compliance on the
|
|
|
a1c266 |
* handling of exit values.
|
|
|
a1c266 |
*/
|
|
|
a1c266 |
- write (fd[1], &errno, sizeof (int));
|
|
|
a1c266 |
+ int sink = write (fd[1], &errno, sizeof (int));
|
|
|
a1c266 |
+ (void) sink;
|
|
|
a1c266 |
}
|
|
|
a1c266 |
|
|
|
a1c266 |
close (fd[1]);
|
|
|
a1c266 |
--
|
|
|
a1c266 |
1.7.1
|
|
|
a1c266 |
|