Jim,
In the code, the following lines are commented out
/* if (freq > config.harmonic_freq_threshold * 5 ) {
freq /= 7;
ofreq /= 9;
}else */
Even if it wasn't, it would just mean that if the freq variable was greater than the harmonic threshold variable multiplied by 5 (the 5th harmonic) then it would set the frequency to the appropriate fundamental of the harmonic.
I have no idea what ofreq is, but I recall reading something about some mixer LO frequency voodoo magic the devs did to push some unwanted IFs out of band. Maybe that's what ofreq is?