06-22-2006 10:56 AM
06-22-2006 11:08 AM
06-22-2006 11:40 AM
I highly recommend setting the warning for uninitialized values along with the warning for unreferenced variables. These are very useful to me as they let me avoid some common pitfalls and I can also remove unused variables avoiding unnecessary allocation of space for those variables. (That's the old-time, space/efficiency conscious programmer coming out there, I used to code things in the dim dark ages of software development where you had to worry about every byte).
The warning for assignments in conditional expressions is not so useful to me as I tend to do things like this all the time:
if ((status = hp34401a_init (DmmRsc, VI_ON, VI_ON, DmmHndl)) != VI_SUCCESS) { // Do some error stuff here }