Bug 43355 - [Qt] Fix warning in XMLDocumentParserQt.cpp
Summary: [Qt] Fix warning in XMLDocumentParserQt.cpp
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks: 43191
  Show dependency treegraph
 
Reported: 2010-08-02 08:52 PDT by Csaba Osztrogonác
Modified: 2010-08-12 09:51 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2010-08-02 08:52:13 PDT
../../../WebCore/dom/XMLDocumentParserQt.cpp: In function ‘void WebCore::handleElementNamespaces(WebCore::Element*, const QXmlStreamNamespaceDeclarations&, WebCore::ExceptionCode&, WebCore::FragmentScriptingPermission)’:
../../../WebCore/dom/XMLDocumentParserQt.cpp:328: warning: ‘namespaceQName.WebCore::String::m_impl.WTF::RefPtr<WebCore::StringImpl>::m_ptr’ may be used uninitialized in this function

WebCore/dom/XMLDocumentParserQt.cpp:328:
String namespaceQName = decl.prefix().isEmpty() ? String("xmlns") : String("xmlns:") + String(decl.prefix());
Comment 1 Csaba Osztrogonác 2010-08-12 09:51:45 PDT
It was fixed around http://trac.webkit.org/changeset/65040 .