Skip to content

Commit

Permalink
removed unused line
Browse files Browse the repository at this point in the history
The assigned variable has no effective use, and indeed generates an error in PHP 7.2.
  • Loading branch information
madbob committed Apr 11, 2018
1 parent 136e9a2 commit 9e1fa02
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/file/block_file.php
Expand Up @@ -363,7 +363,6 @@ public function append( $data )
// Switch write mode, if needed.
$this->switchWriteMode();

$dataLength = sizeof( $data );
$length = $this->writeBytes( $data );

if ( ( $mod = ( $length % $this->blockSize ) ) > 0 )
Expand Down

0 comments on commit 9e1fa02

Please sign in to comment.