From aa76b79f2476a62d51473a30c33e1365fbd1a329 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Mon, 31 Oct 2011 15:31:07 -0700 Subject: [PATCH] Remove unchecked return warning Signed-off-by: Steven Dake --- test/testcpg2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testcpg2.c b/test/testcpg2.c index ff53edd9..f017289c 100644 --- a/test/testcpg2.c +++ b/test/testcpg2.c @@ -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); }