Skip to content

Commit a58b6dc

Browse files
author
Matthias Radestock
committed
address some compiler warnings
1 parent 5c7335e commit a58b6dc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/unit/TestNetworkBinaryCodec.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ public void TestWriteInt32_negative() {
130130

131131
[Test]
132132
public void TestWriteUInt32() {
133-
NetworkBinaryWriter w = Writer();
134133
m_w.Write((uint) 0x89ABCDEF);
135134
Check(m_w, new byte[] { 0x89, 0xAB, 0xCD, 0xEF });
136135
}
@@ -160,7 +159,6 @@ public void TestWriteInt64_negative() {
160159

161160
[Test]
162161
public void TestWriteUInt64() {
163-
NetworkBinaryWriter w = Writer();
164162
m_w.Write((ulong) 0x89ABCDEF01234567);
165163
Check(m_w, new byte[] { 0x89, 0xAB, 0xCD, 0xEF, 0x01, 0x23, 0x45, 0x67 });
166164
}

0 commit comments

Comments
 (0)