Skip to content

Commit

Permalink
Exclude an unused variable in clock_gettime's API
Browse files Browse the repository at this point in the history
Fixes unused variable warnings.
  • Loading branch information
kcgen committed Jul 30, 2022
1 parent c7565ca commit 8378b79
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/enet.h
Original file line number Diff line number Diff line change
Expand Up @@ -4904,8 +4904,7 @@ extern "C" {
t.QuadPart |= f.dwLowDateTime;
return (t);
}

int clock_gettime(int X, struct timespec *tv) {
int clock_gettime(int /* X */, struct timespec *tv) {
LARGE_INTEGER t;
FILETIME f;
double microseconds;
Expand Down

0 comments on commit 8378b79

Please sign in to comment.