Skip to content

Commit

Permalink
Removed un-used variable
Browse files Browse the repository at this point in the history
  • Loading branch information
david-dick committed Jan 24, 2025
1 parent e52057f commit b2b6f6f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Crypt/URandom.pm
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,7 @@ sub _read_urandom_fs {
redo BUFFER_FILLED;
}
else {
my $returned_bytes = length $urandom;
my $error = $EXTENDED_OS_ERROR;
my $error = $EXTENDED_OS_ERROR;
$_urandom_handle = undef;
$_initialised = undef;
Carp::croak( q[Failed to read from ] . PATH() . qq[:$error] );
Expand Down

0 comments on commit b2b6f6f

Please sign in to comment.