mirror of
https://github.com/pocoproject/poco.git
synced 2026-01-26 21:44:49 +01:00
* chore(CppParser): 0, NULL --> nullptr * chore(Crypto): 0, NULL --> nullptr * chore(DNSSD): 0, NULL --> nullptr * chore(Encodings): 0, NULL --> nullptr * chore(CppUnit): Correct indentation. * chore(Foundation): 0, NULL --> nullptr * chore(CMake): Always warn about wrong nullptr usage when compiling with GCC or CLang * chore(Net): 0, NULL --> nullptr * chore(Foundation): 0, NULL --> nullptr * chore(Data): 0, NULL --> nullptr * chore(macOS): 0, NULL --> nullptr * chore(XML): 0, NULL --> nullptr * chore(Zip): 0, NULL --> nullptr * chore(Util): 0, NULL --> nullptr * chore(Net/NetSSL): 0, NULL --> nullptr * chore(Bonjour): 0, NULL --> nullptr * chore(MongoDB, Redis): 0, NULL --> nullptr * chore(Poco): 0, NULL --> nullptr * chore(Win32): 0, NULL --> nullptr * chore(CMake): Only warn about nullptr when verbose warnings are enabled. * Potential fix for code scanning alert no. 1634: Guarded Free Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * chore(Net): Fix warning reported by gitlab. * chore(gitlab CI): attempt to clean to gain disk space on the runner. * chore(gitlab CI): Run build with --parallel 4, correct docker cleanup. --------- Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
@@ -60,7 +60,7 @@ const std::string XMLWriter::MARKUP_END_CDATA = "]]>";
|
||||
|
||||
|
||||
XMLWriter::XMLWriter(XMLByteOutputStream& str, int options):
|
||||
_pTextConverter(0),
|
||||
_pTextConverter(nullptr),
|
||||
_pInEncoding(new NATIVE_ENCODING),
|
||||
_pOutEncoding(new Poco::UTF8Encoding),
|
||||
_options(options),
|
||||
@@ -83,9 +83,9 @@ XMLWriter::XMLWriter(XMLByteOutputStream& str, int options):
|
||||
|
||||
|
||||
XMLWriter::XMLWriter(XMLByteOutputStream& str, int options, const std::string& encodingName, Poco::TextEncoding& textEncoding):
|
||||
_pTextConverter(0),
|
||||
_pTextConverter(nullptr),
|
||||
_pInEncoding(new NATIVE_ENCODING),
|
||||
_pOutEncoding(0),
|
||||
_pOutEncoding(nullptr),
|
||||
_options(options),
|
||||
_encoding(encodingName),
|
||||
_depth(-1),
|
||||
@@ -106,9 +106,9 @@ XMLWriter::XMLWriter(XMLByteOutputStream& str, int options, const std::string& e
|
||||
|
||||
|
||||
XMLWriter::XMLWriter(XMLByteOutputStream& str, int options, const std::string& encodingName, Poco::TextEncoding* pTextEncoding):
|
||||
_pTextConverter(0),
|
||||
_pTextConverter(nullptr),
|
||||
_pInEncoding(new NATIVE_ENCODING),
|
||||
_pOutEncoding(0),
|
||||
_pOutEncoding(nullptr),
|
||||
_options(options),
|
||||
_encoding(encodingName),
|
||||
_depth(-1),
|
||||
|
||||
Reference in New Issue
Block a user