diff options
author | Amitay Isaacs <amitay@gmail.com> | 2017-03-16 13:29:18 +1100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-03-16 20:30:19 +0100 |
commit | a1131494df57f32f38d7f52087ae19efa1d9a498 (patch) | |
tree | dfcc4a3d68bcd5c07153ce3fbb92d35b1ee69bb9 /lib/util/util.c | |
parent | 59514f2e4c6ce537c9fba9d9b5bffc37fb71fb8e (diff) | |
download | samba-a1131494df57f32f38d7f52087ae19efa1d9a498.tar.gz |
lib/util: Fix initializer
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/util/util.c')
-rw-r--r-- | lib/util/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/util.c b/lib/util/util.c index a8f2e00a82d..49f15847be6 100644 --- a/lib/util/util.c +++ b/lib/util/util.c @@ -924,7 +924,7 @@ _PUBLIC_ _PURE_ DATA_BLOB strhex_to_data_blob(TALLOC_CTX *mem_ctx, const char *s */ _PUBLIC_ _PURE_ DATA_BLOB hexdump_to_data_blob(TALLOC_CTX *mem_ctx, const char *hexdump, size_t hexdump_len) { - DATA_BLOB ret_blob = {'\0'}; + DATA_BLOB ret_blob = { 0 }; size_t i = 0; size_t char_count = 0; /* hexdump line length is 77 chars long. We then use the ASCII representation of the bytes |