diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-04-14 19:16:56 +0200 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-04-14 19:16:56 +0200 |
commit | 2667cc25896a15f82f9f1583e80d416beb1316e1 (patch) | |
tree | c4f86b1d1fc4ce2e9117df6047d0503c43b63fcc /src/nss-myhostname | |
parent | a6ad1458e8baf913e9ee377c52863b927d7a2638 (diff) |
timedatectl: avoid using uninitialized var
sec is not set if have_time is false so avoid using it. have_time
was introduced in 9ff09bcb86fb125768667aca9bc0b10b1745370a but only
the first uses for sec were covered
Found with scan-build
Diffstat (limited to 'src/nss-myhostname')
0 files changed, 0 insertions, 0 deletions