fix for compile warning

This commit is contained in:
David Yat Sin 2012-09-19 15:25:38 -04:00
parent d22e0caf15
commit 7018a15bf1

View File

@ -273,7 +273,7 @@ static ftdm_status_t parse_trunkgroup(const char *_trunkgroup)
{ {
int i; int i;
char *p, *name, *dchan_span, *backup_span, *trunkgroup; char *p, *name, *dchan_span, *backup_span, *trunkgroup;
uint8_t num_spans; uint8_t num_spans = 0;
ftdm_status_t ret = FTDM_SUCCESS; ftdm_status_t ret = FTDM_SUCCESS;
trunkgroup = ftdm_strdup(_trunkgroup); trunkgroup = ftdm_strdup(_trunkgroup);