[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 8e20613771379d736e49c
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-03-11 19:15:21
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Hamlib -- Ham radio control libraries". The branch, master has been updated via 8e20613771379d736e49c40e70b57b44be478f0d (commit) via 2f40735ed746dd4945ea4f3432532128d89d19a0 (commit) via 0f82f0d1a8ae5a1c424283f59d3c5e6aa599de8c (commit) from 6fcb7ccd37b4eaadc2219bfe7dab91c2907da844 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 8e20613771379d736e49c40e70b57b44be478f0d Author: Michael Black W9MDB <mdb...@ya...> Date: Thu Mar 11 13:14:42 2021 -0600 Fix mingw bogus compiler warning diff --git a/src/misc.c b/src/misc.c index fefd0f24..7e443c7e 100644 --- a/src/misc.c +++ b/src/misc.c @@ -1569,7 +1569,8 @@ 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 + + stop = *start; // just to suppress some compiler warnings //rig_debug(RIG_DEBUG_TRACE, "%s: start = %ld,%ld\n", __func__, // (long)start->tv_sec, (long)start->tv_nsec); commit 2f40735ed746dd4945ea4f3432532128d89d19a0 Merge: 0f82f0d1 6fcb7ccd Author: Michael Black W9MDB <mdb...@ya...> Date: Thu Mar 11 13:12:47 2021 -0600 Merge branch 'master' of https://github.com/Hamlib/Hamlib diff --cc src/misc.c index 683954b2,aaf56f9c..fefd0f24 --- a/src/misc.c +++ b/src/misc.c @@@ -1569,10 -1569,9 +1569,10 @@@ double HAMLIB_API elapsed_ms(struct tim { 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); + //rig_debug(RIG_DEBUG_TRACE, "%s: start = %ld,%ld\n", __func__, + // (long)start->tv_sec, (long)start->tv_nsec); switch (option) commit 0f82f0d1a8ae5a1c424283f59d3c5e6aa599de8c Author: Michael Black W9MDB <mdb...@ya...> Date: Thu Mar 11 13:12:17 2021 -0600 Fix for mingw compiler bogus warning message diff --git a/src/misc.c b/src/misc.c index 45619c6f..683954b2 100644 --- a/src/misc.c +++ b/src/misc.c @@ -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); ----------------------------------------------------------------------- Summary of changes: src/misc.c | 2 ++ 1 file changed, 2 insertions(+) hooks/post-receive -- Hamlib -- Ham radio control libraries |