summaryrefslogtreecommitdiffstats
path: root/usr.bin/xlint/lint1/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/xlint/lint1/tree.c')
-rw-r--r--usr.bin/xlint/lint1/tree.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/xlint/lint1/tree.c b/usr.bin/xlint/lint1/tree.c
index 36dda83..5770f08 100644
--- a/usr.bin/xlint/lint1/tree.c
+++ b/usr.bin/xlint/lint1/tree.c
@@ -39,6 +39,7 @@ static char rcsid[] = "$NetBSD: tree.c,v 1.12 1995/10/02 17:37:57 jpo Exp $";
#include <string.h>
#include <float.h>
#include <limits.h>
+#include <math.h>
#include "lint1.h"
#include "y.tab.h"
@@ -1132,6 +1133,7 @@ typeok(op, arg, ln, rn)
nulleff(ln);
break;
/* LINTED (enumeration values not handled in switch) */
+ default:
}
if (mp->m_badeop &&
@@ -3575,6 +3577,7 @@ chkmisc(tn, vctx, tctx, eqwarn, fcall, rvdisc, szof)
case STRING:
return;
/* LINTED (enumeration values not handled in switch) */
+ default:
}
cvctx = mp->m_vctx;
@@ -3913,6 +3916,7 @@ precconf(tn)
}
break;
/* LINTED (enumeration values not handled in switch) */
+ default:
}
if (warn) {
OpenPOWER on IntegriCloud