summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-02-16 18:09:13 +0100
committerGravatar Martin Szulecki2013-02-16 18:09:13 +0100
commitb0eb675fda9e2ebe316a41ed1e7bd4822513aa7d (patch)
tree6f2cc6dfa02566f2ababf1563959a02770095c2a
parent0b45fc36f7816a1f4eae19d3355b728a4354dc5d (diff)
downloadaxis2c-b0eb675fda9e2ebe316a41ed1e7bd4822513aa7d.tar.gz
axis2c-b0eb675fda9e2ebe316a41ed1e7bd4822513aa7d.tar.bz2
Initialize n_nodes[] before use
-rw-r--r--axiom/src/xpath/xpath_internals_engine.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/axiom/src/xpath/xpath_internals_engine.c b/axiom/src/xpath/xpath_internals_engine.c
index 3c96d0e..dcd48e3 100644
--- a/axiom/src/xpath/xpath_internals_engine.c
+++ b/axiom/src/xpath/xpath_internals_engine.c
@@ -436,6 +436,8 @@ axiom_xpath_equalexpr_operator(
int op12[2];
axutil_array_list_t *arr[2];
+ n_nodes[0] = 0;
+ n_nodes[1] = 0;
op12[0] = op->op1;
op12[1] = op->op2;