Bug 43355

Summary: [Qt] Fix warning in XMLDocumentParserQt.cpp
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal Keywords: Qt, QtTriaged
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 43191    

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 .