Merge pull request #610 from libexpat/address-cppcheck-2-8-1-warning

lib: Address Cppcheck 2.8.1 warning / fix CI
This commit is contained in:
Sebastian Pipping 2022-07-16 00:30:41 +02:00 committed by GitHub
commit 68e60b5677
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -6,6 +6,7 @@ Release x.x.x xxx xxxxx xx xxxx
Other changes:
#597 #599 Windows|CMake: Add missing -DXML_STATIC to test runners
and fuzzers
#610 Address Cppcheck 2.8.1 warning
Infrastructure:
#597 #598 CI: Windows: Start covering MSVC 2022

View file

@ -4271,7 +4271,7 @@ processXmlDecl(XML_Parser parser, int isGeneralTextEntity, const char *s,
const XML_Char *storedEncName = NULL;
const ENCODING *newEncoding = NULL;
const char *version = NULL;
const char *versionend;
const char *versionend = NULL;
const XML_Char *storedversion = NULL;
int standalone = -1;