From: Karel Zak Date: Wed, 29 Jul 2015 12:15:14 +0000 (+0200) Subject: hwclock: make static analyzes more happy X-Git-Tag: v2.27-rc1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a172badb03c22d3ad1b00ff16f458b071063db18;p=thirdparty%2Futil-linux.git hwclock: make static analyzes more happy Signed-off-by: Karel Zak --- diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c index cadbf30756..f04cf2b080 100644 --- a/sys-utils/hwclock.c +++ b/sys-utils/hwclock.c @@ -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;