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:
parent
288f5647e6
commit
d6947b4515
|
@ -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;
|
||||
|
|
Reference in New Issue