You declared it, but you did not initialize it. You need to set the value for it:
int specialFuncStart;
specialFuncStart = 0;
int specialFuncStart = 0;
Your compiler believes that sometimes specialFuncStartit will not be initialized, since the loop forshould not be executed.