Subject: | gcc 4.9.2 warnings |
HiRes.c: In function 'XS_Time__HiRes_clock_gettime':
HiRes.c:1671:6: warning: variable 'clock_id' set but not used [-Wunused-but-set-variable]
int clock_id;
^
HiRes.c: In function 'XS_Time__HiRes_clock_getres':
HiRes.c:1741:6: warning: variable 'clock_id' set but not used [-Wunused-but-set-variable]
int clock_id;
^
HiRes.xs: In function 'XS_Time__HiRes_clock':
HiRes.xs:1250:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
RETVAL = clocks == -1 ? -1 : (NV)clocks / (NV)CLOCKS_PER_SEC;
^