generator: Remove unused variables in NativeStructGen
This commit is contained in:
parent
741360020c
commit
9b9512a3ce
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue