summaryrefslogtreecommitdiff
path: root/mpq/inits.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpq/inits.c')
-rw-r--r--mpq/inits.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mpq/inits.c b/mpq/inits.c
index 084c71e00..bb14f93e2 100644
--- a/mpq/inits.c
+++ b/mpq/inits.c
@@ -39,12 +39,11 @@ mpq_inits (mpq_ptr x, ...)
va_start (ap, x);
- do
+ while (x != NULL)
{
mpq_init (x);
x = va_arg (ap, mpq_ptr);
}
- while (x != NULL);
va_end (ap);
}