lua warning with clang webgl
authorkoda
Sun, 09 Jun 2013 12:28:11 +0200
branchwebgl
changeset 9162 2c6ad606f4fb
parent 9160 fc46e75f6b72
child 9164 d923ba9d1145
lua warning with clang
misc/liblua/lauxlib.c
--- a/misc/liblua/lauxlib.c	Sun Jun 09 12:22:53 2013 +0200
+++ b/misc/liblua/lauxlib.c	Sun Jun 09 12:28:11 2013 +0200
@@ -574,7 +574,8 @@
     lf.f = freopen(filename, "rb", lf.f);  /* reopen in binary mode */
     if (lf.f == NULL) return errfile(L, "reopen", fnameindex);
     /* skip eventual `#!...' */
-   while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ;
+   while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0])
+       /* do nothing */ ;
     lf.extraline = 0;
   }
   ungetc(c, lf.f);