summaryrefslogtreecommitdiffstats
path: root/usr.sbin/asf
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2005-09-21 05:33:46 +0000
committergrog <grog@FreeBSD.org>2005-09-21 05:33:46 +0000
commit1cf87107d0ea1076e56cad718ab287b5bd5eafe9 (patch)
treed28d58f0c31015f0e73e79507bdcc26220e31d80 /usr.sbin/asf
parent3d1542ebf7fd234dc9c1bfe57dcfbda9e1141ca2 (diff)
downloadFreeBSD-src-1cf87107d0ea1076e56cad718ab287b5bd5eafe9.zip
FreeBSD-src-1cf87107d0ea1076e56cad718ab287b5bd5eafe9.tar.gz
Initialize uninitialized variables.
PR: 71653 Submitted by: Dan Lukes <dan@obluda.cz>
Diffstat (limited to 'usr.sbin/asf')
-rw-r--r--usr.sbin/asf/asf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/asf/asf.c b/usr.sbin/asf/asf.c
index fddc363..2539011 100644
--- a/usr.sbin/asf/asf.c
+++ b/usr.sbin/asf/asf.c
@@ -242,9 +242,9 @@ main(int argc, char *argv[])
if ((!(strstr(buf, "kernel")))
&& buf[0] != 'I') {
quad_t base;
- quad_t textaddr;
- quad_t dataaddr;
- quad_t bssaddr;
+ quad_t textaddr = 0;
+ quad_t dataaddr = 0;
+ quad_t bssaddr = 0;
tokens = tokenize(buf, token, MAXTOKEN);
if (tokens < 4)
OpenPOWER on IntegriCloud