diff options
author | Andre Heinecke <[email protected]> | 2016-08-18 15:14:36 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-08-18 15:14:36 +0000 |
commit | 30f156280f18500ee522db58aecd40711c8af685 (patch) | |
tree | 8ec0b0098171554d20297ba34fee51067828d4ec /src/w32-io.c | |
parent | core: Fail loudly in case w32 spawner not found (diff) | |
download | gpgme-30f156280f18500ee522db58aecd40711c8af685.tar.gz gpgme-30f156280f18500ee522db58aecd40711c8af685.zip |
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.
Diffstat (limited to 'src/w32-io.c')
-rw-r--r-- | src/w32-io.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/w32-io.c b/src/w32-io.c index 9aaaeeb8..3a695414 100644 --- a/src/w32-io.c +++ b/src/w32-io.c @@ -1644,8 +1644,6 @@ _gpgme_io_spawn (const char *path, char *const argv[], unsigned int flags, { int lasterr = (int)GetLastError (); TRACE_LOG1 ("CreateProcess failed: ec=%d", lasterr); - if (lasterr == ERROR_INVALID_PARAMETER) - TRACE_LOG1 ("(is '%s' correctly installed?)", spawnhelper); free (arg_string); close (tmp_fd); DeleteFileA (tmp_name); |