|Summary:||ASTERISK-07704: GSM codec: formats/msgsm.h: xmc not initialized?!|
|Reporter:||Ralf S. Engelschall (rse)||Labels:|
|Date Opened:||2006-09-09 12:53:43||Date Closed:||2011-06-07 14:08:28|
|Description:||On building Asterisk 1.2.12 I recognized the following GCC 4 warning:|
../formats/msgsm.h:459: warning: 'xmc' may be used uninitialized in this function
I then had a look into msgsm.h:459 and especially msgsm.h:565
and xmc is really not initialized. I've to admit that I've
no clue whether it is correct or incorrect to now set xmc
in this piece of code and if it is really missing whether
is leads a problem or not. But at least the Asterisk developers
should review this part and either fix it by setting xmc
there or at least add a comment "/* xmc intentionally not set */"
there in case someone else again stumbles over this issue.
|Comments:||By: Joshua C. Colp (jcolp) 2006-09-09 15:41:48|
This isn't a real life threatening bug or anything and has already been solved in trunk.