mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-08 07:53:17 +02:00
generator: Remove unused variables in NativeStructGen
This commit is contained in:
parent
741360020c
commit
9b9512a3ce
@ -184,8 +184,6 @@ namespace GtkSharp.Generation
|
|||||||
|
|
||||||
protected void GenEqualsAndHash (StreamWriter sw)
|
protected void GenEqualsAndHash (StreamWriter sw)
|
||||||
{
|
{
|
||||||
int bitfields = 0;
|
|
||||||
bool need_field = true;
|
|
||||||
StringBuilder hashcode = new StringBuilder ();
|
StringBuilder hashcode = new StringBuilder ();
|
||||||
StringBuilder equals = new StringBuilder ();
|
StringBuilder equals = new StringBuilder ();
|
||||||
|
|
||||||
@ -198,7 +196,6 @@ namespace GtkSharp.Generation
|
|||||||
if (field.IsPadding || !field.Visible || field.IsBitfield)
|
if (field.IsPadding || !field.Visible || field.IsBitfield)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
need_field = true;
|
|
||||||
equals.Append (" && ");
|
equals.Append (" && ");
|
||||||
equals.Append (field.EqualityName);
|
equals.Append (field.EqualityName);
|
||||||
equals.Append (".Equals (other.");
|
equals.Append (".Equals (other.");
|
||||||
|
Loading…
Reference in New Issue
Block a user