bpo-38236: Fix init_dump_ascii_wstr() (GH-16333)
Add missing "return;" (to not dereference NULL pointer).
This commit is contained in:
parent
fcdb027234
commit
88e6447451
|
@ -2547,6 +2547,7 @@ init_dump_ascii_wstr(const wchar_t *str)
|
||||||
{
|
{
|
||||||
if (str == NULL) {
|
if (str == NULL) {
|
||||||
PySys_WriteStderr("(not set)");
|
PySys_WriteStderr("(not set)");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
PySys_WriteStderr("'");
|
PySys_WriteStderr("'");
|
||||||
|
|
Loading…
Reference in New Issue