summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorGeorge Joseph <gjoseph@digium.com>2017-01-25 11:37:03 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-01-25 11:37:03 -0600
commitbda60f09d386eaa04b964d9131f0ab4cbb454892 (patch)
treeb96ed595c800e7bcbf48485c38296dbcab5fabca /res
parentdfcf70c91b2cb557fada1fcd7319135184fe7fdd (diff)
parentee2b0f2eef41714b1f6be50cda1034e649cba48d (diff)
Merge "res_pjsip_endpoint_identifier_ip: Ensure error defaults to 0."
Diffstat (limited to 'res')
-rw-r--r--res/res_pjsip_endpoint_identifier_ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_endpoint_identifier_ip.c b/res/res_pjsip_endpoint_identifier_ip.c
index 63b254da8..116e2d8d7 100644
--- a/res/res_pjsip_endpoint_identifier_ip.c
+++ b/res/res_pjsip_endpoint_identifier_ip.c
@@ -247,7 +247,7 @@ static int ip_identify_match_handler(const struct aco_option *opt, struct ast_va
while ((current_string = ast_strip(strsep(&input_string, ",")))) {
char *mask = strrchr(current_string, '/');
- int error;
+ int error = 0;
if (ast_strlen_zero(current_string)) {
continue;