diff options
author | Daniel Veillard <veillard@redhat.com> | 2014-02-06 10:47:20 +0100 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2014-02-06 10:47:20 +0100 |
commit | e18bce0d061e942284551b62f5c4c025ba320284 (patch) | |
tree | ae13d4223872250f9b3e7e4cbe944eab11af2d55 /valid.c | |
parent | 15d12040ff48c5190addd315092c9262fbe54e91 (diff) | |
download | android_external_libxml2-e18bce0d061e942284551b62f5c4c025ba320284.tar.gz android_external_libxml2-e18bce0d061e942284551b62f5c4c025ba320284.tar.bz2 android_external_libxml2-e18bce0d061e942284551b62f5c4c025ba320284.zip |
fixing a ptotential uninitialized access
Diffstat (limited to 'valid.c')
-rw-r--r-- | valid.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6949,7 +6949,7 @@ xmlValidGetValidElements(xmlNode *prev, xmlNode *next, const xmlChar **names, int max) { xmlValidCtxt vctxt; int nb_valid_elements = 0; - const xmlChar *elements[256]; + const xmlChar *elements[256]={0}; int nb_elements = 0, i; const xmlChar *name; |