[sr-dev] git:4.4:66500069: auth_xkeys: init var to get rid of compile warnings
Daniel-Constantin Mierla
miconda at gmail.com
Wed Mar 30 15:29:38 CEST 2016
Module: kamailio
Branch: 4.4
Commit: 665000690364dd2c0b59184885064d93343901bd
URL: https://github.com/kamailio/kamailio/commit/665000690364dd2c0b59184885064d93343901bd
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
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, ¶ms_list)<0)
return -1;
More information about the sr-dev
mailing list