Kaydet (Commit) d1771e8d authored tarafından Caolán McNamara's avatar Caolán McNamara

pvs-studio: Potentially uninitialized pointer 'ret_type' used.

Change-Id: I2f6faf1264a62012724d9fe34352a76ea5491717
Reviewed-on: https://gerrit.libreoffice.org/62096
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst e8db509e
...@@ -273,7 +273,7 @@ Assembly ^ TypeEmitter::type_resolve( ...@@ -273,7 +273,7 @@ Assembly ^ TypeEmitter::type_resolve(
::System::Object ^, ::System::ResolveEventArgs ^ args ) ::System::Object ^, ::System::ResolveEventArgs ^ args )
{ {
::System::String ^ cts_name = args->Name; ::System::String ^ cts_name = args->Name;
::System::Type ^ ret_type; ::System::Type ^ ret_type = nullptr;
iface_entry ^ entry = dynamic_cast< iface_entry ^ >(m_incomplete_ifaces[cts_name] ); iface_entry ^ entry = dynamic_cast< iface_entry ^ >(m_incomplete_ifaces[cts_name] );
if (nullptr != entry) if (nullptr != entry)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment