summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/bltin/test.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/bltin/test.c b/src/bltin/test.c
index 1bcba4e..6a2e02c 100644
--- a/src/bltin/test.c
+++ b/src/bltin/test.c
@@ -304,6 +304,11 @@ binop(void)
 		syntax(op->op_text, "argument expected");
 		
 	switch (op->op_num) {
+	default:
+#ifdef DEBUG
+		abort();
+		/* NOTREACHED */
+#endif
 	case STREQ:
 		return strcmp(opnd1, opnd2) == 0;
 	case STRNE:
@@ -330,9 +335,6 @@ binop(void)
 		return olderf (opnd1, opnd2);
 	case FILEQ:
 		return equalf (opnd1, opnd2);
-	default:
-		abort();
-		/* NOTREACHED */
 	}
 }