From a1131494df57f32f38d7f52087ae19efa1d9a498 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Thu, 16 Mar 2017 13:29:18 +1100 Subject: [PATCH] lib/util: Fix initializer Signed-off-by: Amitay Isaacs Reviewed-by: Jeremy Allison --- lib/util/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3