In the below piece of code, there is a condition "if(wordlen > 0)". But it seems that the condition is not even needed, because if the previous character was a space, tab or newline, inspace will be set to 1, so that block which contains "if(wordlen > 0)" won't be executed during this iteration. And if that block is executed, then that means the previous iteration of the while loop had a character so wordlen must at least be equal to 1, since for each character its counter is incremented by 1. So is "if(wordlen > 0)" superfluous in the below definition?