git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clean-up compiler warnings about ignoring return values
[sliver-openvswitch.git]
/
lib
/
process.c
diff --git
a/lib/process.c
b/lib/process.c
index
0c7f424
..
12168f7
100644
(file)
--- a/
lib/process.c
+++ b/
lib/process.c
@@
-289,7
+289,7
@@
process_exited(struct process *p)
return true;
} else {
char buf[_POSIX_PIPE_BUF];
-
read(fds[0], buf, sizeof buf
);
+
ignore(read(fds[0], buf, sizeof buf)
);
return false;
}
}
@@
-617,7
+617,7
@@
sigchld_handler(int signr UNUSED)
}
}
}
-
write(fds[1], "", 1
);
+
ignore(write(fds[1], "", 1)
);
}
static bool