diff options
author | Jon Skeet <skeet@pobox.com> | 2008-08-15 21:14:41 +0100 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2008-08-15 21:14:41 +0100 |
commit | 0b6d39acc4012198a7c99886ca7f29a5b6db9f4d (patch) | |
tree | b8ec8c3d1c5e96d6db5523e6ccf8be8089c3a51f /csharp | |
parent | 92b0aaa09e4f6fa037189290acc3d59481cd4108 (diff) | |
download | protobuf-0b6d39acc4012198a7c99886ca7f29a5b6db9f4d.tar.gz protobuf-0b6d39acc4012198a7c99886ca7f29a5b6db9f4d.tar.bz2 protobuf-0b6d39acc4012198a7c99886ca7f29a5b6db9f4d.zip |
Remove unused variable.
Diffstat (limited to 'csharp')
-rw-r--r-- | csharp/ProtocolBuffers/TextFormat.cs | 2 |
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); } |