We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16d5810 commit 2ea96a1Copy full SHA for 2ea96a1
time_unix.c
@@ -90,6 +90,9 @@ kt_setfreq(struct ocx *ocx, double frequency)
90
91
tx.status = STA_PLL | STA_FREQHOLD;
92
tx.modes = MOD_FREQUENCY;
93
+ /* [time_unix.c:84] -> [time_unix.c:92]:
94
+ * (style) Variable 'modes' is reassigned a value
95
+ * before the old one has been used. */
96
tx.freq = (long)floor(frequency * (65536 * 1e6));
97
errno = 0;
98
i = ntp_adjtime(&tx);
0 commit comments