mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Very minor code cleanup.
* g10/decrypt-data.c (decrypt_data): Remove superfluous test. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
9551275857
commit
4256e9f0f1
1 changed files with 2 additions and 2 deletions
|
@ -471,6 +471,7 @@ decrypt_data (ctrl_t ctrl, void *procctx, PKT_encrypted *ed, DEK *dek)
|
|||
{
|
||||
char *filename = NULL;
|
||||
estream_t fp;
|
||||
|
||||
rc = get_output_file ("", 0, ed->buf, &filename, &fp);
|
||||
if (! rc)
|
||||
{
|
||||
|
@ -492,8 +493,7 @@ decrypt_data (ctrl_t ctrl, void *procctx, PKT_encrypted *ed, DEK *dek)
|
|||
filename, gpg_strerror (rc));
|
||||
|
||||
iobuf_close (output);
|
||||
if (afx)
|
||||
release_armor_context (afx);
|
||||
release_armor_context (afx);
|
||||
}
|
||||
xfree (filename);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue