Recent C standards allow (a)
    for (int i = 0; i < 10; i++)
which limits the scope of i to the loop
instead of (b)
    int i;
    for (i = 0; ....
which leaves i in scope

Is it permissible to use (a) in kernel code when the value of i is
not used outside the loop?

Reply via email to