Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Nov 8, 2021
1 parent 6d14d4a commit 11092ad
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/MaxMind/Db/Reader/Decoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ class Decoder
* @var int
*/
private $pointerBase;
/**
* @var float
*/
private $pointerBaseByteSize;
/**
* This is only used for unit testing.
*
Expand All @@ -44,8 +40,8 @@ class Decoder
private const _UINT64 = 9;
private const _UINT128 = 10;
private const _ARRAY = 11;
private const _CONTAINER = 12;
private const _END_MARKER = 13;
// 12 is the container type
// 13 is the end marker type
private const _BOOLEAN = 14;
private const _FLOAT = 15;

Expand All @@ -60,7 +56,6 @@ public function __construct(
$this->fileStream = $fileStream;
$this->pointerBase = $pointerBase;

$this->pointerBaseByteSize = $pointerBase > 0 ? log($pointerBase, 2) / 8 : 0;
$this->pointerTestHack = $pointerTestHack;

$this->switchByteOrder = $this->isPlatformLittleEndian();
Expand Down

0 comments on commit 11092ad

Please sign in to comment.