mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-06 05:06:08 +00:00
WModifyTab: Prevent -Wmaybe-uninitialized warning
This commit is contained in:
parent
490e8dfd96
commit
5f9c58170c
@ -262,7 +262,7 @@ void WModifyTab::OnLinkTableDoubleClick(QModelIndex Index)
|
||||
{
|
||||
// The link table will only be visible if the selected node is a script node
|
||||
CScriptNode *pNode = static_cast<CScriptNode*>(mpSelectedNode);
|
||||
uint32 InstanceID;
|
||||
uint32 InstanceID = 0;
|
||||
|
||||
if (sender() == ui->InLinksTableView)
|
||||
InstanceID = pNode->Instance()->Link(ELinkType::Incoming, Index.row())->SenderID();
|
||||
|
Loading…
x
Reference in New Issue
Block a user