Module: kamailio
Branch: 4.4
Commit: 665000690364dd2c0b59184885064d93343901bd
URL: 
https://github.com/kamailio/kamailio/commit/665000690364dd2c0b59184885064d93343901bd

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2016-03-30T15:28:18+02:00

auth_xkeys: init var to get rid of compile warnings

(cherry picked from commit f8a924874a17e15511ccf1f5ca284c5e2247d805)

---

Modified: modules/auth_xkeys/auth_xkeys.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/665000690364dd2c0b59184885064d93343901bd.diff
Patch: 
https://github.com/kamailio/kamailio/commit/665000690364dd2c0b59184885064d93343901bd.patch

---

diff --git a/modules/auth_xkeys/auth_xkeys.c b/modules/auth_xkeys/auth_xkeys.c
index 6798948..3dfc07e 100644
--- a/modules/auth_xkeys/auth_xkeys.c
+++ b/modules/auth_xkeys/auth_xkeys.c
@@ -153,7 +153,7 @@ int authx_xkey_add_params(str *sparam)
        param_hooks_t phooks;
        param_t *pit=NULL;
        auth_xkey_t tmp;
-       unsigned int uv;
+       unsigned int uv = 0;
 
        if (parse_params(sparam, CLASS_ANY, &phooks, &params_list)<0)
                return -1;


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to