eina: fix warning when clockid is not defined
authorJean Guyomarc'h <jean@guyomarch.bzh>
Sat, 28 May 2016 19:49:33 +0000 (21:49 +0200)
committerJean Guyomarc'h <jean@guyomarch.bzh>
Sat, 28 May 2016 19:49:33 +0000 (21:49 +0200)
Unused parameter was unused...

src/lib/eina/eina_debug_monitor.c

index d715f62..d11f0e5 100644 (file)
@@ -82,6 +82,7 @@ _bt_ts_set(int slot, pthread_t self)
    pthread_getcpuclockid(self, &cid);
    clock_gettime(cid, &(_bt_ts[slot]));
 #else
+   (void) self;
    memset(&(_bt_ts[slot]), 0, sizeof(struct timespec));
 #endif
 }