Fix for mingw compiler bogus warning message

pull/608/head
Michael Black W9MDB 2021-03-11 13:12:17 -06:00
rodzic bd2384e55e
commit 0f82f0d1a8
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -1569,6 +1569,7 @@ double HAMLIB_API elapsed_ms(struct timespec *start, int option)
{
start->tv_sec = start->tv_nsec = 0;
}
stop = *start; // just so to suppress compiler warnings
rig_debug(RIG_DEBUG_TRACE, "%s: start = %ld,%ld\n", __func__,
(long)start->tv_sec, (long)start->tv_nsec);