aboutsummaryrefslogtreecommitdiff
path: root/csharp/ProtocolBuffers/TextFormat.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/ProtocolBuffers/TextFormat.cs')
-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);
}