We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de4257d commit bb623afCopy full SHA for bb623af
dist/Time-HiRes/HiRes.xs
@@ -1433,7 +1433,7 @@ clock_gettime(clock_id = CLOCK_REALTIME)
1433
clockid_t clock_id
1434
PREINIT:
1435
struct timespec ts;
1436
- int status = -1;
+ int status;
1437
CODE:
1438
# ifdef TIME_HIRES_CLOCK_GETTIME_SYSCALL
1439
status = syscall(SYS_clock_gettime, clock_id, &ts);
@@ -1465,7 +1465,7 @@ NV
1465
clock_getres(clock_id = CLOCK_REALTIME)
1466
1467
1468
1469
1470
1471
# ifdef TIME_HIRES_CLOCK_GETRES_SYSCALL
0 commit comments