If _node_has_attribute_substring() returns an error before it has a
chance to overwrite the "match" variable with true/false, then we may
try to access "match" while it is uninitialized. We may as well just
initialize it to false (no match) to avoid this corner case.
dom_exception d_err;
dom_node *n; /* current node */
dom_node *p; /* parent node */
- bool match; /* retval from node_has_attribute_substring() */
+
+ /* retval from node_has_attribute_substring(), must be
+ * initialized in case that function bails early */
+ bool match = false;
/* Define the attribute name "lang" that we're looking for.
* We only use a css_qname here because that's what the