fix a compiler warning about err_msg potentially being used uninitialized.
This commit is contained in:
parent
b9cc00caab
commit
14affb84ca
|
@ -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…
Reference in New Issue