aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-08-18 15:14:36 +0000
committerAndre Heinecke <[email protected]>2016-08-18 15:14:36 +0000
commit30f156280f18500ee522db58aecd40711c8af685 (patch)
tree8ec0b0098171554d20297ba34fee51067828d4ec
parentcore: Fail loudly in case w32 spawner not found (diff)
downloadgpgme-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.
-rw-r--r--src/w32-io.c2
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);