core: Remove (now) useless diagnostic
* src/w32-io.c(_gpgme_io_spawn): Remove spawnhelper not found
diagnostic.
--
When spawnhelper is not found the error is now catched before
the CreateProcess call so the added diagnostic in bb2d11c
(which was not helpful because the value for spawnhelper
would be NULL in that case) is now no longer needed.
This commit is contained in:
parent
9cf983b019
commit
30f156280f
@ -1644,8 +1644,6 @@ _gpgme_io_spawn (const char *path, char *const argv[], unsigned int flags,
|
|||||||
{
|
{
|
||||||
int lasterr = (int)GetLastError ();
|
int lasterr = (int)GetLastError ();
|
||||||
TRACE_LOG1 ("CreateProcess failed: ec=%d", lasterr);
|
TRACE_LOG1 ("CreateProcess failed: ec=%d", lasterr);
|
||||||
if (lasterr == ERROR_INVALID_PARAMETER)
|
|
||||||
TRACE_LOG1 ("(is '%s' correctly installed?)", spawnhelper);
|
|
||||||
free (arg_string);
|
free (arg_string);
|
||||||
close (tmp_fd);
|
close (tmp_fd);
|
||||||
DeleteFileA (tmp_name);
|
DeleteFileA (tmp_name);
|
||||||
|
Loading…
Reference in New Issue
Block a user