sm: Avoid warnings about useless assignments.
authorWerner Koch <wk@gnupg.org>
Wed, 6 Jan 2016 16:51:58 +0000 (17:51 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 7 Jan 2016 18:09:16 +0000 (19:09 +0100)
commit126aebbb82667d160c8c4435898efeb3b43c4ec8
tree401a93cc0827aa6d8611dcd468552b9d10bbafde
parent0de7d61437bd0bfbe645d5eed7a62df03129fb32
sm: Avoid warnings about useless assignments.

* sm/call-dirmngr.c (prepare_dirmngr): Remove setting of ERR.
(unhexify_fpr): Remove useless computation on N.
* sm/certchain.c (do_validate_chain): Remove clearing of RC.  Remove
useless setting of RC.
* sm/fingerprint.c (gpgsm_get_keygrip): Remove setting of RC.
* sm/gpgsm.c (build_list): Replace final stpcpy by strcpy.
* sm/keydb.c (keydb_clear_some_cert_flags): Remove clearing of RC.
* sm/server.c (cmd_getauditlog): Comment unused skip_options.

Signed-off-by: Werner Koch <wk@gnupg.org>
sm/call-dirmngr.c
sm/certchain.c
sm/fingerprint.c
sm/gpgsm.c
sm/keydb.c
sm/server.c