mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
fix a compiler warning about err_msg potentially being used uninitialized.
This commit is contained in:
parent
b9cc00caab
commit
14affb84ca
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ static void child_exec(char *const exec_array[],
|
|||
{
|
||||
int i, saved_errno, fd_num;
|
||||
PyObject *result;
|
||||
const char* err_msg;
|
||||
const char* err_msg = "";
|
||||
/* Buffer large enough to hold a hex integer. We can't malloc. */
|
||||
char hex_errno[sizeof(saved_errno)*2+1];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue