summaryrefslogtreecommitdiffstats
path: root/match.c
diff options
context:
space:
mode:
Diffstat (limited to 'match.c')
-rw-r--r--match.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/match.c b/match.c
index f381dcd4..cad32714 100644
--- a/match.c
+++ b/match.c
@@ -1112,7 +1112,7 @@ static val do_match_line(match_line_ctx *c, val completely)
debug_check(elem, c->bindings, c->dataline, c->data_lineno,
c->pos, c->base);
- switch (elem ? type(elem) : 0) {
+ switch (type(elem)) {
case CONS: /* directive */
{
val directive = first(elem);
@@ -1583,7 +1583,7 @@ static void do_output_line(val bindings, val specline, val filter, val out)
for (; specline; specline = rest(specline)) {
val elem = first(specline);
- switch (elem ? type(elem) : 0) {
+ switch (type(elem)) {
case CONS:
{
val directive = first(elem);