commit | ed4fcfe3c94e228ae7440dbcaaef5b1c21115b28 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Jul 08 10:38:56 2020 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Jul 08 10:38:56 2020 +0200 |
tree | 34809488bb39bac7dc5c7c35e4aa89781d36fbbe | |
parent | 63f3d84fda0762299b369b18eae474d2b1046da5 [diff] [blame] |
libyang MAINTENANCE fox uninitialized vars warnings Even though they all are false-positives.
diff --git a/src/xml.c b/src/xml.c index 22afda5..02f7f4b 100644 --- a/src/xml.c +++ b/src/xml.c
@@ -1213,6 +1213,7 @@ if (ptr1[0] != ptr2[0]) { /* it can be a start of prefix that maps to the same module */ ns1 = ns2 = NULL; + u1 = u2 = 0; if (prefs1) { /* find module of the first prefix, if any */ LY_ARRAY_FOR(prefs1, u1) {