From 7af52d0eac7e0fb08a0804b119c9cf33c9f9f9bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 26 Nov 2014 17:29:16 -0500 Subject: [PATCH] Cleanup: Cast poll() return value to void MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit *** CID 1019969: Unchecked return value from library (CHECKED_RETURN) Signed-off-by: Jérémie Galarneau --- src/common/hashtable/rculfhash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/hashtable/rculfhash.c b/src/common/hashtable/rculfhash.c index ff7e68104..fb44640bd 100644 --- a/src/common/hashtable/rculfhash.c +++ b/src/common/hashtable/rculfhash.c @@ -1783,7 +1783,7 @@ int cds_lfht_destroy(struct cds_lfht *ht, pthread_attr_t **attr) } #endif while (uatomic_read(&ht->in_progress_resize)) - poll(NULL, 0, 100); /* wait for 100ms */ + (void) poll(NULL, 0, 100); /* wait for 100ms */ ret = cds_lfht_delete_bucket(ht); if (ret) return ret; -- 2.34.1