mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
journalctl: always initialize global variables
That's not necessary, as they are initialized with zero, but for safety and readability. (cherry picked from commit 4f0165fd34fcae33fd4b38f6d3641be75193ec0e) (cherry picked from commit 826ea65348a38d21b0f601ea660fdc6bb377e480)
This commit is contained in:
parent
b0ad6bc662
commit
9430bb0fa3
@ -110,7 +110,7 @@ static char *arg_verify_key = NULL;
|
||||
static usec_t arg_interval = DEFAULT_FSS_INTERVAL_USEC;
|
||||
static bool arg_force = false;
|
||||
#endif
|
||||
static usec_t arg_since, arg_until;
|
||||
static usec_t arg_since = 0, arg_until = 0;
|
||||
static bool arg_since_set = false, arg_until_set = false;
|
||||
static char **arg_syslog_identifier = NULL;
|
||||
static char **arg_system_units = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user