diff options
author | Alessandro Ghedini <alessandro@ghedini.me> | 2015-10-08 22:00:27 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-10-23 20:32:59 +0200 |
commit | b62a2f8a373d1889672599834acf95161f2883ce (patch) | |
tree | 0024faa9bdb5306b1b337ab1a223b93632632fc8 /crypto/bio | |
parent | a8bd9f90edcabf0550dca6771f890956b0434cbb (diff) |
Remove useless code
RT#4081
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 070c23325af4526c9a8532a60d63522c58d5554b)
Diffstat (limited to 'crypto/bio')
-rw-r--r-- | crypto/bio/b_dump.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/bio/b_dump.c b/crypto/bio/b_dump.c index ed8e521449..ccf0e287c4 100644 --- a/crypto/bio/b_dump.c +++ b/crypto/bio/b_dump.c @@ -104,7 +104,6 @@ int BIO_dump_indent_cb(int (*cb) (const void *data, size_t len, void *u), if ((rows * dump_width) < len) rows++; for (i = 0; i < rows; i++) { - buf[0] = '\0'; /* start with empty string */ BUF_strlcpy(buf, str, sizeof buf); BIO_snprintf(tmp, sizeof tmp, "%04x - ", i * dump_width); BUF_strlcat(buf, tmp, sizeof buf); |