libexpat/expat/lib
Sebastian Pipping 5bab452b49 lib: Address GCC 11.2.1 compiler warning
Symptom was:

In file included from xmltok.c:58:
xmltok_ns.c: In function ‘findEncodingNS’:
xmltok.h:276:10: warning: ‘buf’ may be used uninitialized [-Wmaybe-uninitialized]
  276 |   (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim))
      |   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xmltok_ns.c:99:3: note: in expansion of macro ‘XmlUtf8Convert’
   99 |   XmlUtf8Convert(enc, &ptr, end, &p, p + ENCODING_MAX - 1);
      |   ^~~~~~~~~~~~~~
xmltok.h:276:10: note: by argument 5 of type ‘const char *’ to ‘enum XML_Convert_Result(const ENCODING *, const char **, const char *, char **, const char *)’ {aka ‘enum XML_Convert_Result(const struct encoding *, const char **, const char *, char **, const char *)’}
  276 |   (((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim))
      |   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xmltok_ns.c:99:3: note: in expansion of macro ‘XmlUtf8Convert’
   99 |   XmlUtf8Convert(enc, &ptr, end, &p, p + ENCODING_MAX - 1);
      |   ^~~~~~~~~~~~~~
In file included from xmltok.c:1666:
xmltok_ns.c:96:8: note: ‘buf’ declared here
   96 |   char buf[ENCODING_MAX];
      |        ^~~
2021-12-25 18:15:25 +01:00
..
.gitignore Remove expat.h from .gitignore (#224) 2018-10-05 17:14:37 +02:00
ascii.h Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00
asciitab.h Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00
expat_external.h Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00
expat.h Bump version to 2.4.2 2021-12-17 18:01:39 +01:00
iasciitab.h Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00
internal.h tests: Cover helper unsignedCharToPrintable 2021-05-07 18:25:08 +02:00
latin1tab.h Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00
libexpat.def lib: Protect against billion laughs attacks (approach 3.0.21) 2021-05-07 18:25:07 +02:00
libexpatw.def lib: Protect against billion laughs attacks (approach 3.0.21) 2021-05-07 18:25:07 +02:00
Makefile.am Autotools|CMake: Link against libm for function "isnan" 2021-09-20 18:27:52 +02:00
nametab.h Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00
siphash.h Drop remaining support for Visual Studio 2008, 2010, 2012 (#422) 2020-10-03 21:30:13 +02:00
utf8tab.h Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00
winconfig.h Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00
xmlparse.c Bump version to 2.4.2 2021-12-17 18:01:39 +01:00
xmlrole.c Apply #514 to attribution headers 2021-10-17 16:28:01 +02:00
xmlrole.h Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00
xmltok_impl.c Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00
xmltok_impl.h Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00
xmltok_ns.c lib: Address GCC 11.2.1 compiler warning 2021-12-25 18:15:25 +01:00
xmltok.c Apply #514 to attribution headers 2021-10-17 16:28:01 +02:00
xmltok.h Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00