Module: sip-router
Branch: 4.2
Commit: 15435f96b50a7bf71d321eb925988ebb7498bdf0
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=15435f9…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: Thu Nov 27 16:45:06 2014 -0500
tmx: fix warning: may be used uninitialized in this function
(cherry picked from commit 022ae9be87b11838345a3d22b1170b280aef8aa7)
---
modules/tmx/tmx_pretran.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/tmx/tmx_pretran.c b/modules/tmx/tmx_pretran.c
index a9c6f2a..1e0f50f 100644
--- a/modules/tmx/tmx_pretran.c
+++ b/modules/tmx/tmx_pretran.c
@@ -185,7 +185,7 @@ int tmx_check_pretran(sip_msg_t *msg)
str scseqmet;
str scseqnum;
str sftag;
- str svbranch;
+ str svbranch = {NULL, 0};
pretran_t *it;
if(_tmx_ptran_table==NULL) {