Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9afe8a3 commit f789465Copy full SHA for f789465
1 file changed
Python/pystrhex.c
@@ -18,6 +18,7 @@ static PyObject *_Py_strhex_impl(const char* argbuf, const Py_ssize_t arglen,
18
retbuf = (Py_UCS1*) PyMem_Malloc(arglen*2);
19
if (!retbuf)
20
return PyErr_NoMemory();
21
+ retval = NULL; /* silence a compiler warning, assigned later. */
22
} else {
23
retval = PyUnicode_New(arglen*2, 127);
24
if (!retval)
0 commit comments