diff options
Diffstat (limited to 'src/shared/clock-util.c')
-rw-r--r-- | src/shared/clock-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/clock-util.c b/src/shared/clock-util.c index ec67b054b4..b446daf581 100644 --- a/src/shared/clock-util.c +++ b/src/shared/clock-util.c @@ -55,7 +55,7 @@ int clock_set_hwclock(const struct tm *tm) { } int clock_is_localtime(const char* adjtime_path) { - _cleanup_fclose_ FILE *f; + _cleanup_fclose_ FILE *f = NULL; int r; if (!adjtime_path) |