Skip to content

Commit 2cc3cfa

Browse files
Fix -Wmissing-braces warning in clang
1 parent 0440945 commit 2cc3cfa

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
@@ -122,7 +122,7 @@ void test_schnorrsig_api(void) {
122122
secp256k1_xonly_pubkey zero_pk;
123123
unsigned char sig[64];
124124
secp256k1_schnorrsig_extraparams extraparams = SECP256K1_SCHNORRSIG_EXTRAPARAMS_INIT;
125-
secp256k1_schnorrsig_extraparams invalid_extraparams = { 0 };
125+
secp256k1_schnorrsig_extraparams invalid_extraparams = {{ 0 }, NULL, NULL};
126126

127127
/** setup **/
128128
secp256k1_context *none = secp256k1_context_create(SECP256K1_CONTEXT_NONE);

0 commit comments

Comments
 (0)