fix a warning, and fix the name of a variable nearby

This commit is contained in:
adelikat 2019-06-28 14:34:18 -05:00
parent 5188b7a2e7
commit 41d9d2da4d
1 changed files with 3 additions and 3 deletions

View File

@ -81,14 +81,14 @@ namespace BizHawk.Client.Common
return "Command ran successfully";
}
catch (NullReferenceException nullEX)
catch (NullReferenceException)
{
return "Database not open.";
}
catch (SQLiteException sqlEX)
catch (SQLiteException sqlEx)
{
m_dbConnection.Close();
return sqlEX.Message;
return sqlEx.Message;
}
}