summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-12-19 14:34:48 +0000
committerBenny Prijono <bennylp@teluu.com>2008-12-19 14:34:48 +0000
commitb0fd00197eeade206b531cee1937cdf45315db94 (patch)
tree89ab184b22e9e8ddb6a4a75ef17203cadeaf5bb8
parent7768c2201f3ec97439ffe515da4513e95b70100a (diff)
Minor fix to avoid uninitialized variable warning with MSVC 6 release build
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2388 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjnath/src/pjnath/stun_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjnath/src/pjnath/stun_msg.c b/pjnath/src/pjnath/stun_msg.c
index 0d8c5c59..ead586c7 100644
--- a/pjnath/src/pjnath/stun_msg.c
+++ b/pjnath/src/pjnath/stun_msg.c
@@ -2158,7 +2158,7 @@ PJ_DEF(pj_status_t) pj_stun_msg_decode(pj_pool_t *pool,
if (adesc == NULL) {
/* Unrecognized attribute */
- pj_stun_binary_attr *attr;
+ pj_stun_binary_attr *attr = NULL;
PJ_LOG(5,(THIS_FILE, "Unrecognized attribute type 0x%x",
attr_type));