summaryrefslogtreecommitdiff
path: root/src/SMAPI.Tests.ModApiConsumer
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-04-06 18:25:00 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-04-06 18:25:00 -0400
commit077d8e4f401ad1806c6af0540f432366314a2300 (patch)
tree525c6787f90a1e962f9a3b84ee495b2d0e8e2cc8 /src/SMAPI.Tests.ModApiConsumer
parent0539bb8f3705e5c50d0e5790e2af97f39aed04b8 (diff)
downloadSMAPI-077d8e4f401ad1806c6af0540f432366314a2300.tar.gz
SMAPI-077d8e4f401ad1806c6af0540f432366314a2300.tar.bz2
SMAPI-077d8e4f401ad1806c6af0540f432366314a2300.zip
remove some unused/redundant code
Diffstat (limited to 'src/SMAPI.Tests.ModApiConsumer')
-rw-r--r--src/SMAPI.Tests.ModApiConsumer/ApiConsumer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI.Tests.ModApiConsumer/ApiConsumer.cs b/src/SMAPI.Tests.ModApiConsumer/ApiConsumer.cs
index 2c7f9952..ac7bd338 100644
--- a/src/SMAPI.Tests.ModApiConsumer/ApiConsumer.cs
+++ b/src/SMAPI.Tests.ModApiConsumer/ApiConsumer.cs
@@ -17,7 +17,7 @@ namespace SMAPI.Tests.ModApiConsumer
// act
int calls = 0;
int lastValue = -1;
- api.OnEventRaised += (sender, value) =>
+ api.OnEventRaised += (_, value) =>
{
calls++;
lastValue = value;
@@ -34,7 +34,7 @@ namespace SMAPI.Tests.ModApiConsumer
// act
int calls = 0;
int lastValue = -1;
- api.OnEventRaisedProperty += (sender, value) =>
+ api.OnEventRaisedProperty += (_, value) =>
{
calls++;
lastValue = value;