win32.c: clock_getres
* win32/win32.c (clock_getres): remove unused variable. [ruby-dev:47699] [Bug #8869] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f245f0c664
commit
59baeaf10f
@ -4359,7 +4359,6 @@ clock_getres(clockid_t clock_id, struct timespec *sp)
|
|||||||
case CLOCK_MONOTONIC:
|
case CLOCK_MONOTONIC:
|
||||||
{
|
{
|
||||||
LARGE_INTEGER freq;
|
LARGE_INTEGER freq;
|
||||||
LARGE_INTEGER count;
|
|
||||||
if (!QueryPerformanceFrequency(&freq)) {
|
if (!QueryPerformanceFrequency(&freq)) {
|
||||||
errno = map_errno(GetLastError());
|
errno = map_errno(GetLastError());
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user