Skip to content

Commit ea1546b

Browse files
Update Python/crossinterp.c
Co-authored-by: Serhiy Storchaka <[email protected]>
1 parent f885523 commit ea1546b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Python/crossinterp.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,12 +1805,12 @@ _PyXI_InitFailureUTF8(_PyXI_failure *failure,
18051805
int
18061806
_PyXI_InitFailure(_PyXI_failure *failure, _PyXI_errcode code, PyObject *obj)
18071807
{
1808+
*failure = (_PyXI_failure){
1809+
.code = code,
1810+
.msg = NULL,
1811+
.msg_owned = 0,
1812+
};
18081813
if (obj == NULL) {
1809-
*failure = (_PyXI_failure){
1810-
.code = code,
1811-
.msg = NULL,
1812-
.msg_owned = 0,
1813-
};
18141814
return 0;
18151815
}
18161816

0 commit comments

Comments
 (0)