aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ltests.c b/ltests.c
index 76a6ea9b..7e6d8610 100644
--- a/ltests.c
+++ b/ltests.c
@@ -131,8 +131,7 @@ static void warnf (void *ud, const char *msg, int tocont) {
131 if (buff[0] != '#' && onoff) /* unexpected warning? */ 131 if (buff[0] != '#' && onoff) /* unexpected warning? */
132 badexit("Unexpected warning in test mode: %s\naborting...\n", 132 badexit("Unexpected warning in test mode: %s\naborting...\n",
133 buff, NULL); 133 buff, NULL);
134 /* else */ /* FALLTHROUGH */ 134 } /* FALLTHROUGH */
135 }
136 case 1: { /* allow */ 135 case 1: { /* allow */
137 if (onoff) 136 if (onoff)
138 fprintf(stderr, "Lua warning: %s\n", buff); /* print warning */ 137 fprintf(stderr, "Lua warning: %s\n", buff); /* print warning */