Use C99 initialisations for iterators
[exim.git] / src / src / routers / queryprogram.c
index 01191ef9c7d640234ac72f0856c5bf62dd59abd6..b4d229cd71c01c3ae2cfc15ca2d761198ee5548f 100644 (file)
@@ -489,9 +489,9 @@ lookup_value = NULL;
 if (*s != 0)
   {
   transport_instance *transport;
-  for (transport = transports; transport != NULL; transport = transport->next)
+  for (transport = transports; transport; transport = transport->next)
     if (Ustrcmp(transport->name, s) == 0) break;
-  if (transport == NULL)
+  if (!transport)
     {
     addr->message = string_sprintf("unknown transport name %s yielded by "
       "command", s);