From 163c1026d15a8f70c649d8d5880cf9fb4abb9a65 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Fri, 13 Feb 2009 02:52:08 +0000 Subject: Fix some compiler warnings. Minor formatting cleanup. --- OpenSim/Framework/Console/ConsoleBase.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Framework/Console/ConsoleBase.cs') diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs index 793270b..0e7326f 100644 --- a/OpenSim/Framework/Console/ConsoleBase.cs +++ b/OpenSim/Framework/Console/ConsoleBase.cs @@ -293,7 +293,7 @@ namespace OpenSim.Framework.Console if (s == String.Empty) { CommandInfo ci = (CommandInfo)current[String.Empty]; - if (ci.fn.Count != null) + if (ci.fn.Count != 0) addcr = true; } else @@ -355,7 +355,7 @@ namespace OpenSim.Framework.Console if (current.ContainsKey(String.Empty)) { CommandInfo ci = (CommandInfo)current[String.Empty]; - if (ci.fn.Count == null) + if (ci.fn.Count == 0) return new string[0]; foreach (CommandDelegate fn in ci.fn) fn(ci.module, result); -- cgit v1.1