Skip to content

Commit

Permalink
rb: Remove extra validate in read [THRIFT-207]
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719126 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
kclark committed Nov 19, 2008
1 parent 8d809c8 commit e765a8e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/rb/lib/thrift/struct.rb
Expand Up @@ -82,7 +82,6 @@ def inspect(skip_optional_nulls = true)
end

def read(iprot)
validate
# TODO(kevinclark): Make sure transport is C readable
if iprot.respond_to?(:decode_binary)
iprot.decode_binary(self, iprot.trans)
Expand Down

0 comments on commit e765a8e

Please sign in to comment.