chiark / gitweb /
fix gcc warnings about uninitialized variables
[elogind.git] / src / journal / journal-vacuum.c
index a367dc1bb9e2d30877af8c751784f287503165e5..81a577ea276f2a59bac2265f52536faf3ea7969c 100644 (file)
@@ -73,7 +73,7 @@ static void patch_realtime(
                 unsigned long long *realtime) {
 
         _cleanup_free_ const char *path = NULL;
-        usec_t x, crtime;
+        usec_t x, crtime = 0;
 
         /* The timestamp was determined by the file name, but let's
          * see if the file might actually be older than the file name