[Wox.Plugin] Enable analyzer and fix warnings (#16547)

This commit is contained in:
CleanCodeDeveloper
2022-03-08 17:46:36 +01:00
committed by GitHub
parent 9cf39654d9
commit ec3ea5c4ae
4 changed files with 7 additions and 5 deletions

View File

@@ -801,9 +801,9 @@ namespace Wox.Plugin.Common.Win32
return !r1.Equals(r2);
}
public bool Equals(RECT r)
public bool Equals(RECT other)
{
return r.Left == Left && r.Top == Top && r.Right == Right && r.Bottom == Bottom;
return other.Left == Left && other.Top == Top && other.Right == Right && other.Bottom == Bottom;
}
public override bool Equals(object obj)