lib/util: Fix initializer
authorAmitay Isaacs <amitay@gmail.com>
Thu, 16 Mar 2017 02:29:18 +0000 (13:29 +1100)
committerJeremy Allison <jra@samba.org>
Thu, 16 Mar 2017 19:30:19 +0000 (20:30 +0100)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/util/util.c

index a8f2e00a82d081cbe900e5bb30b71b039dce3738..49f15847be6413a348f2c1510f3d1e004bc18146 100644 (file)
@@ -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