forked from enlightenment/efl
eina: fix warning when clockid is not defined
Unused parameter was unused...
This commit is contained in:
parent
0d8e054556
commit
092ce1f83b
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue