projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a47dedd
)
Ignore some errors
author
Mihail Konev
<k.mvc@ya.ru>
Tue, 18 Oct 2016 04:02:52 +0000
(
04:02
+0000)
committer
Mihail Konev
<k.mvc@ya.ru>
Tue, 18 Oct 2016 04:02:52 +0000
(
04:02
+0000)
lib/helper.c
patch
|
blob
|
history
diff --git
a/lib/helper.c
b/lib/helper.c
index ea06d81fb8a075e5f713d001de116a0b90520550..5663fa98be0f5eb2d32a540ba84f08f9fe530ae5 100644
(file)
--- a/
lib/helper.c
+++ b/
lib/helper.c
@@
-151,7
+151,7
@@
int fuse_daemonize(int foreground)
case 0:
break;
default:
- read(waiter[0], &completed, sizeof(completed));
+
(void)
read(waiter[0], &completed, sizeof(completed));
_exit(0);
}
@@
-173,7
+173,7
@@
int fuse_daemonize(int foreground)
/* Propagate completion of daemon initializatation */
completed = 1;
- write(waiter[1], &completed, sizeof(completed));
+
(void)
write(waiter[1], &completed, sizeof(completed));
close(waiter[0]);
close(waiter[1]);
} else {