summaryrefslogtreecommitdiffstats
path: root/usr.bin/ktrdump
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2004-09-27 05:56:57 +0000
committerjulian <julian@FreeBSD.org>2004-09-27 05:56:57 +0000
commitcbad2b873c5a42edafe4684eecaf02026ffd487a (patch)
tree77afeb9d9efd6a7a3dab5ecf84db39b82863f714 /usr.bin/ktrdump
parent3d41573e73c59458ec68f26cc2309d147f354dfd (diff)
downloadFreeBSD-src-cbad2b873c5a42edafe4684eecaf02026ffd487a.zip
FreeBSD-src-cbad2b873c5a42edafe4684eecaf02026ffd487a.tar.gz
Don't use an uninitialised variable when reading from a ktr alq file.
Diffstat (limited to 'usr.bin/ktrdump')
-rw-r--r--usr.bin/ktrdump/ktrdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ktrdump/ktrdump.c b/usr.bin/ktrdump/ktrdump.c
index f187723..c0bb3ad 100644
--- a/usr.bin/ktrdump/ktrdump.c
+++ b/usr.bin/ktrdump/ktrdump.c
@@ -98,7 +98,7 @@ main(int ac, char **av)
int parm;
int in;
int c;
- int i;
+ int i = 0;
/*
* Parse commandline arguments.
OpenPOWER on IntegriCloud