diff options
author | charnier <charnier@FreeBSD.org> | 2005-05-29 15:49:53 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2005-05-29 15:49:53 +0000 |
commit | 45f96a1a02b6242bd9432315ff8fabcc24071748 (patch) | |
tree | 24dc4b50a6ccda23661e3dee25191092795ee355 /usr.bin/tset | |
parent | 3d484d1c7a9822202f9f9ce61ea36e1b95114bdf (diff) | |
download | FreeBSD-src-45f96a1a02b6242bd9432315ff8fabcc24071748.zip FreeBSD-src-45f96a1a02b6242bd9432315ff8fabcc24071748.tar.gz |
Reduce compiler warning: variable might be used uninitialized, by giving
an initial value.
Diffstat (limited to 'usr.bin/tset')
-rw-r--r-- | usr.bin/tset/map.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/tset/map.c b/usr.bin/tset/map.c index a86d7c4..d3db6b6 100644 --- a/usr.bin/tset/map.c +++ b/usr.bin/tset/map.c @@ -196,6 +196,7 @@ mapped(type) MAP *mapp; int match; + match = 0; for (mapp = maplist; mapp; mapp = mapp->next) if (mapp->porttype == NULL || !strcmp(mapp->porttype, type)) { switch (mapp->conditional) { |