core: Initialize error variable

* src/engine-gpg.c (build_argv): Initialize err.
--

Fixes-commit: fbce7deb3b
This commit is contained in:
Ingo Klöcker 2023-03-27 16:49:03 +02:00
parent 6d21256c92
commit b608c084b9
No known key found for this signature in database
GPG Key ID: F5A5D1692277A1E9

View File

@ -874,7 +874,7 @@ gpg_set_command_handler (void *engine, engine_command_handler_t fnc,
static gpgme_error_t
build_argv (engine_gpg_t gpg, const char *pgmname)
{
gpgme_error_t err;
gpgme_error_t err = 0;
struct arg_and_data_s *a;
struct fd_data_map_s *fd_data_map = NULL;
size_t datac=0, argc=0, allocated_argc=0;