aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2024-05-28 08:55:04 +0200
committerGitHub <noreply@github.com>2024-05-28 08:55:04 +0200
commit4c6b824658593e26595495e53e389f4b0fdc6cac (patch)
tree7b73cc03b50cf69b8ef0cf60637c85eda23d4e42
parent74ac2667e7fdc7bde1a52c0249adb9b17d76dc9e (diff)
parent01ad69413ac99c721ef6c6d8c921aaebb3d34e7d (diff)
Merge pull request #3648 from Feoramund/rem-unused-prime-code
Remove unused code in `internal_random_prime`
-rw-r--r--core/math/big/prime.odin3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/math/big/prime.odin b/core/math/big/prime.odin
index 5e7c02f37..7fc78c7e5 100644
--- a/core/math/big/prime.odin
+++ b/core/math/big/prime.odin
@@ -1188,9 +1188,6 @@ internal_random_prime :: proc(a: ^Int, size_in_bits: int, trials: int, flags :=
flags := flags
trials := trials
- t := &Int{}
- defer internal_destroy(t)
-
/*
Sanity check the input.
*/