summaryrefslogtreecommitdiffstats
path: root/usr.bin/tset/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tset/map.c')
-rw-r--r--usr.bin/tset/map.c1
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) {
OpenPOWER on IntegriCloud