summaryrefslogtreecommitdiffstats
path: root/hwclock/hwclock.c
diff options
context:
space:
mode:
authorSami Kerola2011-07-25 22:20:03 +0200
committerSami Kerola2011-07-26 18:15:14 +0200
commitb618d6eedad4f051f4b1d3c9b2f9af7bbf40351a (patch)
treee94d93956b78da1cece8e22848be8c7a96557998 /hwclock/hwclock.c
parenthwclock: remove goto statement (diff)
downloadkernel-qcow2-util-linux-b618d6eedad4f051f4b1d3c9b2f9af7bbf40351a.tar.gz
kernel-qcow2-util-linux-b618d6eedad4f051f4b1d3c9b2f9af7bbf40351a.tar.xz
kernel-qcow2-util-linux-b618d6eedad4f051f4b1d3c9b2f9af7bbf40351a.zip
hwclock: add variable initialization
The only variable found causing `conditional jump or move depends on uninitialized value' is fixed. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'hwclock/hwclock.c')
-rw-r--r--hwclock/hwclock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hwclock/hwclock.c b/hwclock/hwclock.c
index f070b19aa..cb5b5b64d 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;