Module: kamailio
Branch: master
Commit: f8a924874a17e15511ccf1f5ca284c5e2247d805
URL:
https://github.com/kamailio/kamailio/commit/f8a924874a17e15511ccf1f5ca284c5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-03-30T15:27:42+02:00
auth_xkeys: init var to get rid of compile warnings
---
Modified: modules/auth_xkeys/auth_xkeys.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f8a924874a17e15511ccf1f5ca284c5…
Patch:
https://github.com/kamailio/kamailio/commit/f8a924874a17e15511ccf1f5ca284c5…
---
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, ¶ms_list)<0)
return -1;