From 7347e5700ddbb38c5303e2f7a6871453e3eaa268 Mon Sep 17 00:00:00 2001 From: Paul Pacheco Date: Mon, 21 Sep 2020 16:58:33 -0500 Subject: [PATCH] Remove unused parameter --- .../Weaver/Processors/ServerClientAttributeProcessor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Mirror/Editor/Weaver/Processors/ServerClientAttributeProcessor.cs b/Assets/Mirror/Editor/Weaver/Processors/ServerClientAttributeProcessor.cs index 2452f9b62..463e55a50 100644 --- a/Assets/Mirror/Editor/Weaver/Processors/ServerClientAttributeProcessor.cs +++ b/Assets/Mirror/Editor/Weaver/Processors/ServerClientAttributeProcessor.cs @@ -39,7 +39,7 @@ static bool ProcessSiteMethod(TypeDefinition td, MethodDefinition md) if (md.Body != null && md.Body.Instructions != null) { - return ProcessMethodAttributes(td, md); + return ProcessMethodAttributes(md); } return false; } @@ -62,7 +62,7 @@ public static bool HasServerClientAttribute(MethodDefinition md) return false; } - public static bool ProcessMethodAttributes(TypeDefinition td, MethodDefinition md) + public static bool ProcessMethodAttributes(MethodDefinition md) { if (md.HasCustomAttribute()) InjectServerGuard(md, true);