diff --git a/lib/fs/ntfs/directory_index_node.rb b/lib/fs/ntfs/directory_index_node.rb index 8c55eb50..9db4c2e7 100644 --- a/lib/fs/ntfs/directory_index_node.rb +++ b/lib/fs/ntfs/directory_index_node.rb @@ -52,10 +52,6 @@ def initialize(buf) # Child node VCN is located 8 bytes before 'length' bytes. # NOTE: If the node has 0 contents, it's offset 16. @child = buf[@contentLen == 0 ? 16 : @length - 8, 8].unpack('Q')[0] - if @child.class == Bignum - # buf.hex_dump(:obj => STDOUT, :meth => :puts, :newline => false) - raise "MIQ(NTFS::DirectoryIndexNode.initialize) Bad child node: #{@child}" - end end end