From: Amitay Isaacs Date: Thu, 16 Mar 2017 02:29:18 +0000 (+1100) Subject: lib/util: Fix initializer X-Git-Tag: tdb-1.3.13~448 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1131494df57f32f38d7f52087ae19efa1d9a498;p=thirdparty%2Fsamba.git lib/util: Fix initializer Signed-off-by: Amitay Isaacs Reviewed-by: Jeremy Allison --- 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