Add -Wshadow and deal with the warnings.

This commit is contained in:
Roland C. Dowdeswell
2012-02-21 11:17:55 +00:00
parent cc47c8fa7b
commit e8779d5d4a
39 changed files with 214 additions and 217 deletions

View File

@@ -71,10 +71,10 @@ base2json(heim_object_t, struct twojson *);
static void
indent(struct twojson *j)
{
size_t indent = j->indent;
size_t i = j->indent;
if (j->flags & HEIM_JSON_F_ONE_LINE)
return;
while (indent--)
while (i--)
j->out(j->ctx, "\t");
}