cfuse: really ignore write() return value

Hopefully this will make gcc stop complaining. The void cast no longer
seems to silence unchecked return code errors, on gitbuilder at least.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
This commit is contained in:
Colin Patrick McCabe 2011-06-07 14:26:58 -07:00
parent dfa4aeb8ae
commit a7012f289e

View File

@ -146,7 +146,7 @@ int main(int argc, const char **argv, const char *envp[]) {
if (g_conf->daemonize) {
//cout << "child signalling parent with " << r << std::endl;
(void)::write(fd[1], &r, sizeof(r));
static int foo += ::write(fd[1], &r, sizeof(r));
}
//cout << "child done" << std::endl;