On 09:56 Tue 10 Mar , Hal Rosenstock wrote:
> >
> > This is not equivalent.
>
> Why not ?
In the original code:
if (cond1) {
if (cond2)
do1();
} else
do2();
do2() will work *only* when cond1 is false. After your modification:
if (cond1 && cond2)
do1();
else
do2();
do2() will work when cond1 *or* cond2 are false.
Sasha
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general