/ fixed un-initilized variable
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4665 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
126fc0bc61
commit
f6e058db7a
1 changed files with 2 additions and 0 deletions
|
@ -1270,6 +1270,8 @@ struct vpb_pvt *mkif(int board, int channel, int mode, float txgain, float rxgai
|
||||||
|
|
||||||
tmp->group = group;
|
tmp->group = group;
|
||||||
|
|
||||||
|
/* Initilize dtmf caller ID position variable */
|
||||||
|
tmp->dtmf_caller_pos=0;
|
||||||
|
|
||||||
strncpy(tmp->language, language, sizeof(tmp->language) - 1);
|
strncpy(tmp->language, language, sizeof(tmp->language) - 1);
|
||||||
strncpy(tmp->context, context, sizeof(tmp->context) - 1);
|
strncpy(tmp->context, context, sizeof(tmp->context) - 1);
|
||||||
|
|
Reference in a new issue