Commit 2404bd3c13a27f68d2cb090031c549f3795c8997

Francois Perrad 2015-10-11T12:09:29

suspicious use of ;

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/bn_mp_cnt_lsb.c b/bn_mp_cnt_lsb.c
index a617767..d862762 100644
--- a/bn_mp_cnt_lsb.c
+++ b/bn_mp_cnt_lsb.c
@@ -31,7 +31,7 @@ int mp_cnt_lsb(mp_int *a)
    }
 
    /* scan lower digits until non-zero */
-   for (x = 0; x < a->used && a->dp[x] == 0; x++);
+   for (x = 0; x < a->used && a->dp[x] == 0; x++) {}
    q = a->dp[x];
    x *= DIGIT_BIT;