2002-06-19 Mike Kestner <mkestner@speakeasy.net>

* generator/Parameters.cs : csc build error fixes

svn path=/trunk/gtk-sharp/; revision=5350
This commit is contained in:
Mike Kestner 2002-06-19 23:25:12 +00:00
parent 3bb3c5e4ff
commit 2854aa2e16
2 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2002-06-19 Mike Kestner <mkestner@speakeasy.net>
* generator/Parameters.cs : csc build error fixes
2002-06-14 Rachel Hestilow <hestilow@ximian.com> 2002-06-14 Rachel Hestilow <hestilow@ximian.com>
* glib/GException.cs: Added. * glib/GException.cs: Added.

View file

@ -107,7 +107,7 @@ namespace GtkSharp.Generation {
public void Initialize (StreamWriter sw, bool is_get) public void Initialize (StreamWriter sw, bool is_get)
{ {
string name; string name = "";
foreach (XmlNode parm in elem.ChildNodes) { foreach (XmlNode parm in elem.ChildNodes) {
if (parm.Name != "parameter") { if (parm.Name != "parameter") {
continue; continue;
@ -140,7 +140,7 @@ namespace GtkSharp.Generation {
public bool IsAccessor { public bool IsAccessor {
get { get {
int length = 0; int length = 0;
string pass_as; string pass_as = "";
foreach (XmlNode parm in elem.ChildNodes) { foreach (XmlNode parm in elem.ChildNodes) {
if (parm.Name != "parameter") { if (parm.Name != "parameter") {
continue; continue;
@ -160,7 +160,6 @@ namespace GtkSharp.Generation {
public bool ThrowsException { public bool ThrowsException {
get { get {
int i = 0;
XmlNode last_parm = null; XmlNode last_parm = null;
foreach (XmlNode parm in elem.ChildNodes) { foreach (XmlNode parm in elem.ChildNodes) {
if (parm.Name != "parameter") { if (parm.Name != "parameter") {