Skip to content

Commit

Permalink
void-cast unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Jan 21, 2024
1 parent 49af9d0 commit f2ff13d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/time_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ typedef long long suseconds_t;

inline int gettimeofday(struct timeval* tp, void* tzp)
{
(void)tzp;

unsigned long t;
t = time(NULL);
tp->tv_sec = t / 1000;
Expand Down

0 comments on commit f2ff13d

Please sign in to comment.