mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-26 13:14:16 +00:00
Remove unchecked return warning
Signed-off-by: Steven Dake <sdake@redhat.com>
This commit is contained in:
parent
bcbb7e028c
commit
aa76b79f24
@ -84,7 +84,7 @@ int main(int argc, char** argv) {
|
||||
pfd.fd = fd;
|
||||
pfd.events = POLLIN;
|
||||
|
||||
poll (&pfd, 1, 1000);
|
||||
assert(poll (&pfd, 1, 1000) == 1);
|
||||
cpg_dispatch(handle, CS_DISPATCH_ALL);
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user