Code

src/oping.c: Mark unused argument to avoid compiler warnings.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Wed, 17 Nov 2010 09:02:56 +0000 (10:02 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Wed, 17 Nov 2010 09:02:56 +0000 (10:02 +0100)
src/oping.c

index 8286db0ea00d633774bba68828c22cf9f0bf1f8f..7058ac0480ac82d6bd5cb5f700fb2c8d51a1d4c6 100644 (file)
@@ -819,7 +819,7 @@ static int post_sleep_hook (__attribute__((unused)) pingobj_t *ping) /* {{{ */
 #endif
 
 static void update_host_hook (pingobj_iter_t *iter, /* {{{ */
-               int index)
+               __attribute__((unused)) int index)
 {
        double          latency;
        unsigned int    sequence;