Refactoring Cleanup

This commit is contained in:
hondacrx
2020-02-03 14:42:20 -05:00
parent 2a065d22da
commit 752137af52
37 changed files with 107 additions and 157 deletions
+2 -6
View File
@@ -189,9 +189,7 @@ namespace Game
public AccountOpResult ChangeEmail(uint accountId, string newEmail)
{
string username;
if (!GetName(accountId, out username))
if (!GetName(accountId, out _))
return AccountOpResult.NameNotExist; // account doesn't exist
if (newEmail.Length > MaxEmailLength)
@@ -207,9 +205,7 @@ namespace Game
public AccountOpResult ChangeRegEmail(uint accountId, string newEmail)
{
string username;
if (!GetName(accountId, out username))
if (!GetName(accountId, out _))
return AccountOpResult.NameNotExist; // account doesn't exist
if (newEmail.Length > MaxEmailLength)