fix a warning, and fix the name of a variable nearby
This commit is contained in:
parent
5188b7a2e7
commit
41d9d2da4d
|
@ -81,14 +81,14 @@ namespace BizHawk.Client.Common
|
||||||
return "Command ran successfully";
|
return "Command ran successfully";
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (NullReferenceException nullEX)
|
catch (NullReferenceException)
|
||||||
{
|
{
|
||||||
return "Database not open.";
|
return "Database not open.";
|
||||||
}
|
}
|
||||||
catch (SQLiteException sqlEX)
|
catch (SQLiteException sqlEx)
|
||||||
{
|
{
|
||||||
m_dbConnection.Close();
|
m_dbConnection.Close();
|
||||||
return sqlEX.Message;
|
return sqlEx.Message;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue