We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-Wmaybe-uninitialized
gcc -O1
1 parent 0fa84f8 commit a6ca76cCopy full SHA for a6ca76c
src/ecmult_impl.h
@@ -288,7 +288,9 @@ static void secp256k1_ecmult_strauss_wnaf(const struct secp256k1_strauss_state *
288
}
289
290
/* Bring them to the same Z denominator. */
291
- secp256k1_ge_table_set_globalz(ECMULT_TABLE_SIZE(WINDOW_A) * no, state->pre_a, state->aux);
+ if (no) {
292
+ secp256k1_ge_table_set_globalz(ECMULT_TABLE_SIZE(WINDOW_A) * no, state->pre_a, state->aux);
293
+ }
294
295
for (np = 0; np < no; ++np) {
296
for (i = 0; i < ECMULT_TABLE_SIZE(WINDOW_A); i++) {
0 commit comments