From 30f156280f18500ee522db58aecd40711c8af685 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Thu, 18 Aug 2016 17:14:36 +0200 Subject: [PATCH] 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. --- src/w32-io.c | 2 -- 1 file changed, 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);