On my machine GCC 4.4 complains:
friedman.c: In function ‘friedman_execute’:
friedman.c:106: warning: ‘fr.w’ may be used uninitialized in this function
This appears to be because GCC can't see that the assignment to fr.w and
its later use (in show_sig_box()) both have the same condition. At any
rate, this commit suppresses the warning by always initializing fr.w.
fr.w /= pow2 (fr.cc) * (pow3 (ost->n_vars) - ost->n_vars)
- fr.cc * sigma_t;
}
+ else
+ fr.w = SYSMIS;
show_ranks_box (ost, &fr);
show_sig_box (ost, &fr);