projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove useless code
[openssl.git]
/
crypto
/
bio
/
b_dump.c
diff --git
a/crypto/bio/b_dump.c
b/crypto/bio/b_dump.c
index 33191c1b30c62346bd96843ed94b3a98c49143e5..55792b9e3001dbb40a70e2947c60490fba7a2e46 100644
(file)
--- 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);