fix a compiler warning about err_msg potentially being used uninitialized.

This commit is contained in:
Gregory P. Smith 2010-12-22 05:22:17 +00:00
parent b9cc00caab
commit 14affb84ca
1 changed files with 1 additions and 1 deletions

View File

@ -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];