[Clang Warnings] Remove unused variables
This commit is contained in:

committed by
Petr Mrázek

parent
1f498266d8
commit
b9fb718822
@ -452,7 +452,6 @@ void MinecraftProcess::arm()
|
||||
}
|
||||
|
||||
m_instance->setLastLaunch();
|
||||
auto &settings = m_instance->settings();
|
||||
|
||||
QStringList args = javaArguments();
|
||||
|
||||
|
@ -411,7 +411,7 @@ QVariant ModList::data(const QModelIndex &index, int role) const
|
||||
switch (role)
|
||||
{
|
||||
case Qt::DisplayRole:
|
||||
switch (index.column())
|
||||
switch (column)
|
||||
{
|
||||
case NameColumn:
|
||||
return mods[row].name();
|
||||
@ -426,7 +426,7 @@ QVariant ModList::data(const QModelIndex &index, int role) const
|
||||
return mods[row].mmc_id();
|
||||
|
||||
case Qt::CheckStateRole:
|
||||
switch (index.column())
|
||||
switch (column)
|
||||
{
|
||||
case ActiveColumn:
|
||||
return mods[row].enabled() ? Qt::Checked : Qt::Unchecked;
|
||||
|
Reference in New Issue
Block a user