Fix unused variables

In almost all cases these can be removed. The only exception is in
ShaderViewer.cpp, where regIdx should have been used.
This commit is contained in:
Cory Bloor
2017-11-18 00:17:06 +01:00
committed by Baldur Karlsson
parent b227229d9f
commit 58b628ee8b
9 changed files with 2 additions and 16 deletions
+1 -1
View File
@@ -515,7 +515,7 @@ void ShaderViewer::debugShader(const ShaderBindpointMapping *bind, const ShaderR
s.systemValue == ShaderBuiltin::Undefined ? QString::number(s.regIndex) : lit("-");
ui->inputSig->addTopLevelItem(new RDTreeWidgetItem(
{name, semIdx, QString::number(s.regIndex), TypeString(s), ToQStr(s.systemValue),
{name, semIdx, regIdx, TypeString(s), ToQStr(s.systemValue),
GetComponentString(s.regChannelMask), GetComponentString(s.channelUsedMask)}));
}