Skip to content

Commit

Permalink
LibCrypto: Cleanup unused variables in UnsignedBigInteger::divided_by
Browse files Browse the repository at this point in the history
These were likely cut-and-paste artifacts from
UnsignedBigInteger::multiplied_by; not caught by the "unused-varible".

NOTE: making this change in a separate commit than shift_left, since
it is logically unrelated.
  • Loading branch information
manuel-za committed Jan 9, 2025
1 parent b895ca2 commit 918decc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Libraries/LibCrypto/BigInt/UnsignedBigInteger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,11 +521,6 @@ FLATTEN UnsignedDivisionResult UnsignedBigInteger::divided_by(UnsignedBigInteger
return UnsignedDivisionResult { quotient, remainder };
}

UnsignedBigInteger temp_shift_result;
UnsignedBigInteger temp_shift_plus;
UnsignedBigInteger temp_shift;
UnsignedBigInteger temp_minus;

UnsignedBigIntegerAlgorithms::divide_without_allocation(*this, divisor, quotient, remainder);

return UnsignedDivisionResult { quotient, remainder };
Expand Down

0 comments on commit 918decc

Please sign in to comment.