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 a426490 commit 5410c3e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/plugins/gpgme/gpgme.c
Expand Up @@ -383,15 +383,13 @@ static int gpgEncrypt (Plugin * handle, KeySet * data, Key * errorKey)
gpgme_data_t ciphertext;
gpgme_encrypt_result_t result;
gpgme_invalid_key_t invalidKey;
int keyDataType;

if (!isMarkedForEncryption (k) || isSpecNamespace (k) || isNullValue (k))
{
continue;
}

// preserve the data type of k (string, binary)
keyDataType = keyIsBinary (k);
if (!keyIsBinary (k))
{
err = gpgme_data_new_from_mem (&input, keyString (k), strlen (keyString (k)) + 1, 0);
Expand Down

0 comments on commit 5410c3e

Please sign in to comment.