5a2484b10e
Currently the src_codec const variable is set to &src_end->codec before src_end is checked against NULL. Since the assigment is just an address operation and the memory where it points to is only accessed after the NULL check, this does not harm technically. Nevertheless this is potential source for errors if that code is changed. This commit moves the definition below the NULL check. This does not comply with the coding style, but it cannot be split into definition and a later assignment due to the const qualifier. Sponsored-by: On-Waves ehf |
||
---|---|---|
.. | ||
Makefile.am | ||
g711common.h | ||
mgcp_network.c | ||
mgcp_osmux.c | ||
mgcp_protocol.c | ||
mgcp_transcode.c | ||
mgcp_vty.c |