Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/epp Modified Files: cpphash.c cpplib.c Log Message: Fix compiler warnings (gcc 4.3?). =================================================================== RCS file: /cvs/e/e16/e/epp/cpphash.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- cpphash.c 18 Jan 2007 04:54:58 -0000 1.8 +++ cpphash.c 3 Feb 2008 16:47:22 -0000 1.9 @@ -65,7 +65,8 @@ if (len < 0) { - for (bp = name; IS_IDCHAR(*bp); bp++); + for (bp = name; IS_IDCHAR(*bp); bp++) + ; len = bp - name; } if (hash < 0) =================================================================== RCS file: /cvs/e/e16/e/epp/cpplib.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- cpplib.c 19 Aug 2007 19:30:08 -0000 1.17 +++ cpplib.c 3 Feb 2008 16:47:22 -0000 1.18 @@ -607,7 +607,8 @@ cpp_error(pfile, "malformed option `-D %s'", str); return; } - while (is_idchar[*++p]); + while (is_idchar[*++p]) + ; if (*p == 0) { buf = (unsigned char *)alloca(p - buf + 4); @@ -670,7 +671,8 @@ cpp_error(pfile, "malformed option `%s %s'", option, str); return; } - while (is_idchar[*++p]); + while (is_idchar[*++p]) + ; while (*p == ' ' || *p == '\t') p++; if (!(*p == 0 || *p == '(')) @@ -1736,7 +1738,8 @@ unsigned char *p; int sym_length; - for (p = symname; is_idchar[*p]; p++); + for (p = symname; is_idchar[*p]; p++) + ; sym_length = p - symname; if (sym_length == 0) { ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs