summaryrefslogtreecommitdiff
path: root/src/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.c')
-rw-r--r--src/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test.c b/src/test.c
index 59d8b4eb0..e2247d2a6 100644
--- a/src/test.c
+++ b/src/test.c
@@ -511,7 +511,7 @@ and (void)
{
bool value = true;
- for (;;)
+ while (true)
{
value &= term ();
if (! (pos < argc && STREQ (argv[pos], "-a")))
@@ -530,7 +530,7 @@ or (void)
{
bool value = false;
- for (;;)
+ while (true)
{
value |= and ();
if (! (pos < argc && STREQ (argv[pos], "-o")))