mirror of
git://git.gnupg.org/gnupg.git
synced 2024-06-09 23:39:51 +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
|
@ -471,6 +471,7 @@ decrypt_data (ctrl_t ctrl, void *procctx, PKT_encrypted *ed, DEK *dek)
|
||||||
{
|
{
|
||||||
char *filename = NULL;
|
char *filename = NULL;
|
||||||
estream_t fp;
|
estream_t fp;
|
||||||
|
|
||||||
rc = get_output_file ("", 0, ed->buf, &filename, &fp);
|
rc = get_output_file ("", 0, ed->buf, &filename, &fp);
|
||||||
if (! rc)
|
if (! rc)
|
||||||
{
|
{
|
||||||
|
@ -492,8 +493,7 @@ decrypt_data (ctrl_t ctrl, void *procctx, PKT_encrypted *ed, DEK *dek)
|
||||||
filename, gpg_strerror (rc));
|
filename, gpg_strerror (rc));
|
||||||
|
|
||||||
iobuf_close (output);
|
iobuf_close (output);
|
||||||
if (afx)
|
release_armor_context (afx);
|
||||||
release_armor_context (afx);
|
|
||||||
}
|
}
|
||||||
xfree (filename);
|
xfree (filename);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user