Skip to content

Commit

Permalink
Remove diagnostic block
Browse files Browse the repository at this point in the history
  • Loading branch information
Claytonious committed Mar 31, 2014
1 parent 08d0c1d commit 6d598d7
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions msgpack-sharp/MsgPackIO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,15 +239,7 @@ internal static ulong ReadMsgPackULong(BinaryReader reader)

internal static long ReadMsgPackInt(BinaryReader reader)
{
byte header = 0;
try
{
header = reader.ReadByte();
}
catch(EndOfStreamException ex)
{
Console.Out.WriteLine(ex);
}
byte header = reader.ReadByte();
long result = 0;
if (header < MsgPackConstants.FixedInteger.POSITIVE_MAX)
{
Expand Down

0 comments on commit 6d598d7

Please sign in to comment.