Given
int g(); /* prototype */
int h(int); /* prototype */
void f( int x, int y ) /* x is either 0 or 1 */
{
if( (/* other conditions */)
&& (/* other conditions */)
&& ( x == 1 || g() < 120 ) )
/* do stuff */
}
, would you consider the following change obfuscatory?
if( (/* other conditions */)
&& (/* other conditions */)
&& ( x == 1 || g() < 120 )
&& ( x == 0 || y == 0 || y==h(120) )) /* added line */
...
(The "magic numbers" don't exist in the real code.)
--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.