
void foo(uchar nm)
{
    unsigned char i;
    for (i=0; i<=nm; i++)
    {
        .....................
        .....................//In this function i is used nowhere
        .....................//Except the for(...) statement above
    }
}
