|
There is one warning on Mac OS X (10.10) when compiling in Xcode 6.1.1 with default warnings enabled: /Users/jean-luc/Developpement/lua-5.3.0 - xcode/src/liolib.c:480:16: warning: variable 'c' may be uninitialized when used here [-Wconditional-uninitialized] if (!chop && c == '\n') /* want a newline and have one? */ ^ /Users/jean-luc/Developpement/lua-5.3.0 - xcode/src/liolib.c:467:8: note: initialize the variable 'c' to silence this warning int c; ^ This is a false positive, but hard for the compiler to detect that c is always initialized… :-) Jean-Luc
|