mirror of
https://github.com/ceph/ceph
synced 2025-02-24 19:47:44 +00:00
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:
parent
dfa4aeb8ae
commit
a7012f289e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user