Skip to content

Commit 98e0358

Browse files
committed
Merge #933: Avoids a missing brace warning in schnorrsig/tests_impl.h on old compilers
99e2d5b Avoids a missing brace warning in schnorrsig/tests_impl.h on old compilers. (Gregory Maxwell) Pull request description: ACKs for top commit: real-or-random: ACK 99e2d5b jonasnick: utACK 99e2d5b Tree-SHA512: f3f9cfcd62830d7accca74dfce40abb091dec0990a66bad5d2a9599f2533121d8d1422499d511512bfb8d7c57da96e29e012dbc210e2e97ad55ad18de0869735
2 parents 34388af + 99e2d5b commit 98e0358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/schnorrsig/tests_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ void test_schnorrsig_api(void) {
103103
unsigned char sk3[32];
104104
unsigned char msg[32];
105105
secp256k1_keypair keypairs[3];
106-
secp256k1_keypair invalid_keypair = { 0 };
106+
secp256k1_keypair invalid_keypair = {{ 0 }};
107107
secp256k1_xonly_pubkey pk[3];
108108
secp256k1_xonly_pubkey zero_pk;
109109
unsigned char sig[64];

0 commit comments

Comments
 (0)