From: Jim Meyering <[email protected]>
* services/amfcomp.c (comp_recover_action): Rename inner-scoped
"node" not to shadow outer-scoped variable by the same name.
---
services/amfcomp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/services/amfcomp.c b/services/amfcomp.c
index 8d41bb5..8b0e25d 100644
--- a/services/amfcomp.c
+++ b/services/amfcomp.c
@@ -1379,9 +1379,9 @@ static void comp_recover_action (amf_comp_t *comp,
break;
case SA_AMF_NODE_FAILOVER: {
/* Node failover */
- amf_node_t *node = amf_node_find (
+ amf_node_t *n = amf_node_find (
&comp->su->saAmfSUHostedByNode);
- amf_node_failover(node);
+ amf_node_failover(n);
}
break;
case SA_AMF_NODE_FAILFAST:
--
1.6.3.195.gad81
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais