No... Because that is as good as return servers[0];. You stated the returned value will be the last decremented item, correct?
1 2 3 4 5 6 7 8 9 10 11 12 13 14
int ServerGroup::decServers()
{
int I(0); //<--Here
for(; I < size; ++I)
{
if(servers[I] != 0)
--servers[I];
}
//By this point, I will be the index of the last decremented element
if(spServer!= 0)
spServer -= 1;
return servers[I];
}