diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-01-31 23:04:38 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-01-31 23:04:43 +0900 |
commit | 852640f8a223e2508f8794b9e9241033b74b105b (patch) | |
tree | 81a32f2d88835c6318d8f38ee1d3c59b717dff2e /src/home | |
parent | 9a1862bfa6cdd1352101b232a24f039b88ef4cee (diff) | |
download | systemd-852640f8a223e2508f8794b9e9241033b74b105b.tar.gz |
home: add missing variable initialization
Fixes CID#1415126.
Diffstat (limited to 'src/home')
-rw-r--r-- | src/home/homed-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/homed-manager.c b/src/home/homed-manager.c index f4fec0e7c9..bbe227ce70 100644 --- a/src/home/homed-manager.c +++ b/src/home/homed-manager.c @@ -314,7 +314,7 @@ static int manager_add_home_by_record( const char *fname) { _cleanup_(json_variant_unrefp) JsonVariant *v = NULL; - _cleanup_(user_record_unrefp) UserRecord *hr; + _cleanup_(user_record_unrefp) UserRecord *hr = NULL; unsigned line, column; int r, is_signed; Home *h; |