Ignore some errors
authorMihail Konev <k.mvc@ya.ru>
Tue, 18 Oct 2016 04:02:52 +0000 (04:02 +0000)
committerMihail Konev <k.mvc@ya.ru>
Tue, 18 Oct 2016 04:02:52 +0000 (04:02 +0000)
lib/helper.c

index ea06d81fb8a075e5f713d001de116a0b90520550..5663fa98be0f5eb2d32a540ba84f08f9fe530ae5 100644 (file)
@@ -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 {