From: Jérémie Galarneau Date: Wed, 26 Nov 2014 22:29:16 +0000 (-0500) Subject: Cleanup: Cast poll() return value to void X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7af52d0eac7e0fb08a0804b119c9cf33c9f9f9bd;p=lttng-tools.git Cleanup: Cast poll() return value to void *** CID 1019969: Unchecked return value from library (CHECKED_RETURN) Signed-off-by: Jérémie Galarneau --- 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;