mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-20 13:36:39 +07:00
utmp: properly initialize local variables
This commit is contained in:
parent
d55ae9e6d7
commit
629c210d3f
@ -291,7 +291,7 @@ finish:
|
||||
int utmp_wall(const char *message) {
|
||||
struct utmpx *u;
|
||||
char date[26];
|
||||
char *text, *hn, *un, *tty;
|
||||
char *text = NULL, *hn = NULL, *un = NULL, *tty = NULL;
|
||||
int r;
|
||||
time_t t;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user