Skip to content

Commit

Permalink
gettime: fix minor compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fredmorcos committed Aug 15, 2023
1 parent 018778e commit ea0d7af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pdns/gettime.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ int gettime(struct timespec *tp, bool needRealTime)

#else
#include <sys/time.h>
#include <cstddef>

int gettime(struct timespec *tp, bool needRealTime)
int gettime(struct timespec *tp, bool /* needRealTime */)
{
struct timeval tv;

Expand Down

0 comments on commit ea0d7af

Please sign in to comment.