Remove unchecked return warning

Signed-off-by: Steven Dake <sdake@redhat.com>
This commit is contained in:
Steven Dake 2011-10-31 15:31:07 -07:00
parent bcbb7e028c
commit aa76b79f24

View File

@ -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);
}