summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authorS.H <gamelinks007@gmail.com>2021-09-14 15:22:01 +0900
committerGitHub <noreply@github.com>2021-09-13 23:22:01 -0700
commit3fd85313319e69b37abeff40d48d1e5aebd043b0 (patch)
treef46f66a6eaaea6a8a843d9f50a312fc4535eb39a /bignum.c
parent692dfc50888b86084181d520297a49faa4bd0809 (diff)
downloadruby-3fd85313319e69b37abeff40d48d1e5aebd043b0.tar.gz
Remove uneeded initialize local variable (#4818)
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index 806d589842..52f62b8331 100644
--- a/bignum.c
+++ b/bignum.c
@@ -460,7 +460,6 @@ static int
bary_2comp(BDIGIT *ds, size_t n)
{
size_t i;
- i = 0;
for (i = 0; i < n; i++) {
if (ds[i] != 0) {
goto non_zero;