redundant code

Christophe Massiot massiot at via.ecp.fr
Wed Oct 17 15:15:14 CEST 2001


On Tue, Oct 16, 2001, Michael T. Babcock wrote:

> if ( meuh == 3745 ) i_coeff = 0;
> 
> Well, its really on two lines, but the point is that its immediately followed by "i_coeff = -1;" and is therefore a redundant test.  It seems like it probably once did something useful, but having commented it out of my code I get a very small performance difference on that function.

Errr, yeah it was my fault, it was a left-over from a big debugging week,
it didn't make anything useful. I removed it from the CVS just after
0.2.90 release.

-- 
Christophe Massiot.




More information about the vlc-devel mailing list