X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/288b6107e1060b57ec50048d06cfc3f22bc11e0c..74e6734592400bb121fe89eb853ff489704fadbc:/src/xml/xml.cpp diff --git a/src/xml/xml.cpp b/src/xml/xml.cpp index a35d73b267..1f1539556d 100644 --- a/src/xml/xml.cpp +++ b/src/xml/xml.cpp @@ -143,6 +143,8 @@ bool wxXmlNode::HasAttribute(const wxString& attrName) const bool wxXmlNode::GetAttribute(const wxString& attrName, wxString *value) const { + wxCHECK_MSG( value, false, "value argument must not be NULL" ); + wxXmlAttribute *attr = GetAttributes(); while (attr)