mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:25:07 -05:00
rtc: remove unnecessary variable initializations
This commit is contained in:
@@ -64,7 +64,7 @@ static OperatingMode operating_mode = OM_NORMAL;
|
|||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
|
|
||||||
static int fd = -1;
|
static int fd;
|
||||||
|
|
||||||
#define LOWEST_MEASUREMENT_PERIOD 15
|
#define LOWEST_MEASUREMENT_PERIOD 15
|
||||||
#define HIGHEST_MEASUREMENT_PERIOD 480
|
#define HIGHEST_MEASUREMENT_PERIOD 480
|
||||||
@@ -145,7 +145,7 @@ static double file_ref_offset, file_rate_ppm;
|
|||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
|
|
||||||
/* Flag to remember whether to assume the RTC is running on UTC */
|
/* Flag to remember whether to assume the RTC is running on UTC */
|
||||||
static int rtc_on_utc = 1;
|
static int rtc_on_utc;
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user