setup_ccl_program in ccl_init_coding_stream
Aidan Kehoe
kehoea at parhasard.net
Tue Jun 20 02:53:39 EDT 2006
Ar an naoú lá déag de mí Meitheamh, scríobh Jerry James:
> Today I played with a very clever static checker that noticed that the
> return value of setup_ccl_program is checked everywhere, except for the
> call in ccl_init_coding_stream (mule-coding.c). So, to those who
> understand this code, should the return value be checked there as well?
It doesn’t need to be; when the coding system is created, the validity of
the CCL programs is checked in the ccl_putprop calls that associate the CCL
programs with the coding systems. Throwing in an assertion is probably
worth it, though.
--
Santa Maradona, priez pour moi!
More information about the XEmacs-Beta
mailing list