Removed an unused variable warning.

This commit is contained in:
the_fiddler 2007-11-04 16:49:19 +00:00
parent f5ccec88e6
commit e14a460d2a

View file

@ -99,7 +99,7 @@ namespace Examples
FieldInfo info = type.GetField("order"); FieldInfo info = type.GetField("order");
order = (int)info.GetValue(null); order = (int)info.GetValue(null);
} }
catch (NullReferenceException nre) catch (NullReferenceException)
{ {
Debug.Print("Example {0} does not have ordering info", type.FullName); Debug.Print("Example {0} does not have ordering info", type.FullName);
order = 0; order = 0;