From: Sami Kerola Date: Mon, 25 Jul 2011 20:20:03 +0000 (+0200) Subject: hwclock: add variable initialization X-Git-Tag: v2.20-rc1~23^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b618d6eedad4f051f4b1d3c9b2f9af7bbf40351a;p=thirdparty%2Futil-linux.git hwclock: add variable initialization The only variable found causing `conditional jump or move depends on uninitialized value' is fixed. Signed-off-by: Sami Kerola --- diff --git a/hwclock/hwclock.c b/hwclock/hwclock.c index f070b19aa7..cb5b5b64d2 100644 --- a/hwclock/hwclock.c +++ b/hwclock/hwclock.c @@ -1511,9 +1511,9 @@ int main(int argc, char **argv) /* Set option defaults */ show = set = systohc = hctosys = systz = adjust = noadjfile = predict = FALSE; - getepoch = setepoch = utc = local_opt = testing = debug = FALSE; + getepoch = setepoch = utc = local_opt = directisa = testing = debug = FALSE; #ifdef __alpha__ - ARCconsole = Jensen = SRM = funky_toy = directisa = badyear = FALSE; + ARCconsole = Jensen = SRM = funky_toy = badyear = FALSE; #endif date_opt = NULL;