eina: fix warning when clockid is not defined

Unused parameter was unused...
This commit is contained in:
Jean Guyomarc'h 2016-05-28 21:49:33 +02:00
parent 0d8e054556
commit 092ce1f83b
1 changed files with 1 additions and 0 deletions

View 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
}