From 41d9d2da4df33f27d36f3fd5fcc039f130b13f2f Mon Sep 17 00:00:00 2001 From: adelikat Date: Fri, 28 Jun 2019 14:34:18 -0500 Subject: [PATCH] fix a warning, and fix the name of a variable nearby --- BizHawk.Client.Common/lua/EmuLuaLibrary.SQL.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BizHawk.Client.Common/lua/EmuLuaLibrary.SQL.cs b/BizHawk.Client.Common/lua/EmuLuaLibrary.SQL.cs index ac03a3c9d4..00bcfb92c1 100644 --- a/BizHawk.Client.Common/lua/EmuLuaLibrary.SQL.cs +++ b/BizHawk.Client.Common/lua/EmuLuaLibrary.SQL.cs @@ -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; } }