dect
/
asterisk
Archived
13
0
Fork 0

fix the use of an uninitialized variable (issue #7746, pointed out by garyhai)

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40278 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
russell 2006-08-17 19:14:20 +00:00
parent 288f5647e6
commit d6947b4515
1 changed files with 3 additions and 1 deletions

View File

@ -7021,7 +7021,9 @@ static int sip_refer_allocate(struct sip_pvt *p)
*/
static int transmit_refer(struct sip_pvt *p, const char *dest)
{
struct sip_request req;
struct sip_request req = {
.headers = 0,
};
char from[256];
const char *of;
char *c;