aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf
diff options
context:
space:
mode:
authorJan Tattermusch <jtattermusch@users.noreply.github.com>2015-08-04 16:04:25 -0700
committerJan Tattermusch <jtattermusch@users.noreply.github.com>2015-08-04 16:04:25 -0700
commit95910f1c7dfa95b329c0b25a1b9beedbdc133800 (patch)
tree2f6214d04ab48434dc6b3ce56417884d07977d7b /csharp/src/Google.Protobuf
parentdc80689af3951d078cb556588eece89dd6860c91 (diff)
parent99a81d297c6ddc5aaab86273b4a98c25bec2e833 (diff)
downloadprotobuf-95910f1c7dfa95b329c0b25a1b9beedbdc133800.tar.gz
protobuf-95910f1c7dfa95b329c0b25a1b9beedbdc133800.tar.bz2
protobuf-95910f1c7dfa95b329c0b25a1b9beedbdc133800.zip
Merge pull request #684 from jskeet/unused
Fix build warnings around unused variables
Diffstat (limited to 'csharp/src/Google.Protobuf')
-rw-r--r--csharp/src/Google.Protobuf/JsonFormatter.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/csharp/src/Google.Protobuf/JsonFormatter.cs b/csharp/src/Google.Protobuf/JsonFormatter.cs
index 999e106c..223aa027 100644
--- a/csharp/src/Google.Protobuf/JsonFormatter.cs
+++ b/csharp/src/Google.Protobuf/JsonFormatter.cs
@@ -739,7 +739,6 @@ namespace Google.Protobuf
private const string Hex = "0123456789abcdef";
private static void HexEncodeUtf16CodeUnit(StringBuilder builder, char c)
{
- uint utf16 = c;
builder.Append("\\u");
builder.Append(Hex[(c >> 12) & 0xf]);
builder.Append(Hex[(c >> 8) & 0xf]);