I came across a bug in my code where my variable wasn't being initialized.
It went something like this:

    Boolean isZero;
    UInt16 a = 3;
    if (a == 0)
        isZero = true;
    myFunction(isZero);

I'm not getting warned that "isZero" never gets set.  I looked around for a
setting but didn't find anything.  Is there a way to make CW detect bugs
like this?

Thanks,
Rich


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to