hwclock: make static analyzes more happy

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2015-07-29 14:15:14 +02:00
parent 129fe4f31b
commit a172badb03
1 changed files with 1 additions and 1 deletions

View File

@ -1260,7 +1260,7 @@ manipulate_clock(const bool show, const bool adjust, const bool noadjfile,
const bool testing, const bool predict, const bool get)
{
/* Contents of the adjtime file, or what they should be. */
struct adjtime adjtime;
struct adjtime adjtime = { 0 };
bool universal;
/* Set if user lacks necessary authorization to access the clock */
bool no_auth;