Fix shadowing and signedness warnings
This commit is contained in:
parent
8cd51d3d68
commit
f452d8577a
@ -23,7 +23,7 @@ void CodeGenHelper::add(const char *s, unsigned int len) {
|
|||||||
for (unsigned int i = 0; i < len; ++i) {
|
for (unsigned int i = 0; i < len; ++i) {
|
||||||
const char c = s[i];
|
const char c = s[i];
|
||||||
if (_newline) {
|
if (_newline) {
|
||||||
for (int i = 0; i < _indent_level; ++i) {
|
for (unsigned int j = 0; j < _indent_level; ++j) {
|
||||||
_main_ss << " ";
|
_main_ss << " ";
|
||||||
}
|
}
|
||||||
_newline = false;
|
_newline = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user