Skip to content

Commit

Permalink
gpgme: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
petermax2 committed Aug 21, 2018
1 parent 5410c3e commit c1ce780
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/plugins/gpgme/gpgme.c
Expand Up @@ -500,7 +500,6 @@ static int gpgDecrypt (ELEKTRA_UNUSED Plugin * handle, KeySet * data, Key * erro

gpgme_data_t ciphertext;
gpgme_data_t plaintext;
gpgme_decrypt_result_t dec_result;
int originallyBinary = isOriginallyBinary (k);

err = gpgme_data_new_from_mem (&ciphertext, keyValue (k), keyGetValueSize (k), 0);
Expand Down Expand Up @@ -530,8 +529,6 @@ static int gpgDecrypt (ELEKTRA_UNUSED Plugin * handle, KeySet * data, Key * erro
goto cleanup;
}

dec_result = gpgme_op_decrypt_result (ctx);

if (transferGpgmeDataToElektraKey (plaintext, k, errorKey, !originallyBinary) != 1)
{
// error description has been set by transferGpgmeDataToElektraKey()
Expand Down

0 comments on commit c1ce780

Please sign in to comment.