style: reduce scopes

* src/symlist.c: here.
This commit is contained in:
Akim Demaille
2018-11-29 21:21:13 +01:00
parent 2c6b7c8b2c
commit 6220e96e76

View File

@@ -174,9 +174,8 @@ symbol_list_length (symbol_list const *l)
symbol_list *
symbol_list_n_get (symbol_list *l, int n)
{
int i;
aver (0 <= n);
for (i = 0; i < n; ++i)
for (int i = 0; i < n; ++i)
{
l = l->next;
aver (l);