aboutsummaryrefslogtreecommitdiff
path: root/csharp
diff options
context:
space:
mode:
authorJon Skeet <skeet@pobox.com>2008-08-15 21:14:41 +0100
committerJon Skeet <skeet@pobox.com>2008-08-15 21:14:41 +0100
commit0b6d39acc4012198a7c99886ca7f29a5b6db9f4d (patch)
treeb8ec8c3d1c5e96d6db5523e6ccf8be8089c3a51f /csharp
parent92b0aaa09e4f6fa037189290acc3d59481cd4108 (diff)
downloadprotobuf-0b6d39acc4012198a7c99886ca7f29a5b6db9f4d.tar.gz
protobuf-0b6d39acc4012198a7c99886ca7f29a5b6db9f4d.tar.bz2
protobuf-0b6d39acc4012198a7c99886ca7f29a5b6db9f4d.zip
Remove unused variable.
Diffstat (limited to 'csharp')
-rw-r--r--csharp/ProtocolBuffers/TextFormat.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/csharp/ProtocolBuffers/TextFormat.cs b/csharp/ProtocolBuffers/TextFormat.cs
index 14f1ec73..48b2d8af 100644
--- a/csharp/ProtocolBuffers/TextFormat.cs
+++ b/csharp/ProtocolBuffers/TextFormat.cs
@@ -58,8 +58,6 @@ namespace Google.ProtocolBuffers {
}
private static void Print(IMessage message, TextGenerator generator) {
- // TODO(jonskeet): Check why descriptor is never used.
- MessageDescriptor descriptor = message.DescriptorForType;
foreach (KeyValuePair<FieldDescriptor, object> entry in message.AllFields) {
PrintField(entry.Key, entry.Value, generator);
}