kopia lustrzana https://github.com/Hamlib/Hamlib
Fix for mingw compiler bogus warning message
rodzic
bd2384e55e
commit
0f82f0d1a8
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue