Kaydet (Commit) 14affb84 authored tarafından Gregory P. Smith's avatar Gregory P. Smith

fix a compiler warning about err_msg potentially being used uninitialized.

üst b9cc00ca
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment