diff options
author | Werner Koch <[email protected]> | 2016-01-06 07:35:56 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-01-06 07:35:56 +0000 |
commit | e64317c15e9960f3173d374e589f7c3565a4ad08 (patch) | |
tree | 6fad48e5b0b1aa3076d222b772cd5c99f1a8b813 /common/b64enc.c | |
parent | tests: Use info and error instead of a plain echo. (diff) | |
download | gnupg-e64317c15e9960f3173d374e589f7c3565a4ad08.tar.gz gnupg-e64317c15e9960f3173d374e589f7c3565a4ad08.zip |
common: Avoid warnings about useless assignments.
* common/b64enc.c (b64enc_finish): Remove var assignment which is not
used later.
* common/iobuf.c (file_filter): Ditto.
* common/tlv.c (do_find_tlv): Ditto.
* common/userids.c (classify_user_id): Ditto.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | common/b64enc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/b64enc.c b/common/b64enc.c index 087f27c9d..9101d9819 100644 --- a/common/b64enc.c +++ b/common/b64enc.c @@ -348,7 +348,6 @@ b64enc_finish (struct b64state *state) { for (idx=0; idx < 4; idx++) es_putc (tmp[idx], state->stream); - idx = 0; if (es_ferror (state->stream)) goto write_error; } @@ -356,7 +355,6 @@ b64enc_finish (struct b64state *state) { for (idx=0; idx < 4; idx++) putc (tmp[idx], state->fp); - idx = 0; if (ferror (state->fp)) goto write_error; } |