diff --git a/LibreMetaverse/AssetManager.cs b/LibreMetaverse/AssetManager.cs index ff5d5676..6daeaa7a 100644 --- a/LibreMetaverse/AssetManager.cs +++ b/LibreMetaverse/AssetManager.cs @@ -163,7 +163,7 @@ namespace OpenMetaverse { public UUID ID; public int Size; - public byte[] AssetData = Utils.EmptyBytes; + public byte[] AssetData; public int Transferred; public bool Success; public AssetType AssetType; diff --git a/LibreMetaverse/Inventory.cs b/LibreMetaverse/Inventory.cs index 993ddde0..7f239ec8 100644 --- a/LibreMetaverse/Inventory.cs +++ b/LibreMetaverse/Inventory.cs @@ -168,7 +168,7 @@ namespace OpenMetaverse private GridClient Client; //private InventoryManager Manager; - public Dictionary Items = new Dictionary(); + public Dictionary Items; public Inventory(GridClient client, InventoryManager manager) : this(client, manager, client.Self.AgentID) { } diff --git a/Programs/examples/IRCGateway/IRCClient.cs b/Programs/examples/IRCGateway/IRCClient.cs index 69204d00..b82e8606 100644 --- a/Programs/examples/IRCGateway/IRCClient.cs +++ b/Programs/examples/IRCGateway/IRCClient.cs @@ -10,7 +10,7 @@ public class IRCClient private string ServerHost; private int ServerPort; private string Nickname; - private string RealName = String.Empty; + private string RealName; private Thread LoopThread; private Thread ConnectThread;