Cleanup: Cast poll() return value to void
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 26 Nov 2014 22:29:16 +0000 (17:29 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 26 Nov 2014 22:29:16 +0000 (17:29 -0500)
*** CID 1019969:  Unchecked return value from library  (CHECKED_RETURN)

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/hashtable/rculfhash.c

index ff7e681046a9ce8620195a7330b2f0c69f702a4e..fb44640bdc4946c8ca7c1f8a540be38f40346e12 100644 (file)
@@ -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;
This page took 0.026073 seconds and 4 git commands to generate.