Skip to content

Commit a61f0e5

Browse files
committed
WIP: attempt to fix GCC uninitialized-use error
1 parent 815b241 commit a61f0e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/ecmult_gen_compute_table_impl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ static void secp256k1_ecmult_gen_compute_table(secp256k1_ge_storage* table, cons
2222
secp256k1_gej* vs = checked_malloc(&default_error_callback, points_total * sizeof(*vs));
2323
secp256k1_gej u;
2424
size_t vs_pos = 0;
25-
secp256k1_scalar half;
25+
secp256k1_scalar half = secp256k1_scalar_zero;
2626
int block, i;
2727

2828
/* u is the running power of two times gen we're working with, initially gen/2. */

0 commit comments

Comments
 (0)