Rob Browning <[EMAIL PROTECTED]> writes: > > Yes, this code would clearly be optimized out by the compiler. But > > why can't you generate a code block that looks like: > > > > { > > enum GW__ErrorStatus gw__tmp564_status_var = GW__ERR_NONE; > > SCM gw__tmp566_err_data = SCM_UNSPECIFIED; > > char *gw__tmp565_err_misc_msg = NULL; > > > > (void)gw__tmp564_status_var; > > (void)gw__tmp566_err_data; > > (void)gw__tmp565_err_misc_msg; > > } > > Hmm. This might be OK, and I think I can add that without any > trouble.
This will (should?) solve the unused variable problem. I agree that the unitialized variable problem will be more difficult to solve. > Thanks NP. -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH [EMAIL PROTECTED] PGP key available _______________________________________________ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel