LIBOMV-501 Cleans up all compiler warnings with a few exceptions that need to be addressed individually
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3015 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -363,7 +363,6 @@ namespace WinGridProxy
|
||||
if (tag is string && tag.ToString().StartsWith("Packet Type:"))
|
||||
{
|
||||
Be.Windows.Forms.DynamicByteProvider data = new Be.Windows.Forms.DynamicByteProvider(Utils.StringToBytes(tag.ToString()));
|
||||
var ei = e.Item;
|
||||
if (e.Item.ImageIndex == 1) // sent item
|
||||
{
|
||||
richTextBoxDecodedRequest.Text = String.Format("{0}", tag);
|
||||
@@ -930,7 +929,7 @@ namespace WinGridProxy
|
||||
session["packet"].AsString(),
|
||||
session["size"].AsString(),
|
||||
session["host"].AsString()}));
|
||||
var id = addedItem.SubItems[1];
|
||||
|
||||
addedItem.ImageIndex = session["image_index"].AsInteger();
|
||||
addedItem.BackColor = Color.GhostWhite; // give imported items a different color
|
||||
addedItem.Tag = Utils.BytesToString(session["tag"].AsBinary());
|
||||
@@ -1163,6 +1162,8 @@ namespace WinGridProxy
|
||||
|
||||
string name = packetTypes[i].Name;
|
||||
|
||||
// warning CS0219: The variable `pType' is assigned but its value is never used
|
||||
// this is used to check for valid names.
|
||||
PacketType pType;
|
||||
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user