Removed an unused variable warning.

This commit is contained in:
the_fiddler 2007-11-04 16:49:19 +00:00
parent 4354f68f2e
commit 9a435c6194

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;