Fixing a compiler warning when building with -Wextra.
authorTobias Brunner <tobias@strongswan.org>
Tue, 16 Mar 2010 11:42:58 +0000 (12:42 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 16 Mar 2010 11:42:58 +0000 (12:42 +0100)
src/pluto/lex.c

index f48d24a..d5ebdab 100644 (file)
@@ -205,7 +205,7 @@ flushline(const char *m)
        {
                if (m != NULL)
                        loglog(RC_LOG_SERIOUS, "\"%s\" line %d: %s", flp->filename, flp->lino, m);
-               do ; while (shift());
+               do {} while (shift());
                return FALSE;
        }
 }