Skip to content

Commit

Permalink
Remove unnecessary rubocop directive
Browse files Browse the repository at this point in the history
  • Loading branch information
horgh committed Jun 23, 2020
1 parent de68533 commit d4d9339
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/maxmind/db.rb
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,6 @@ def start_node(length)

# Read a record from the indicated node. Index indicates whether it's the
# left (0) or right (1) record.
#
# rubocop:disable Metrics/CyclomaticComplexity
def read_node(node_number, index)
base_offset = node_number * @node_byte_size

Expand Down Expand Up @@ -261,7 +259,6 @@ def read_node(node_number, index)

raise InvalidDatabaseError, "Unsupported record size: #{@record_size}"
end
# rubocop:enable Metrics/CyclomaticComplexity

def resolve_data_pointer(pointer)
offset_in_file = pointer - @node_count + @search_tree_size
Expand Down

0 comments on commit d4d9339

Please sign in to comment.