Explicitly set key to NULL in default bparam - dedup - deduplicating backup program HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit f1589f46b7005d7e09198397edeb775f488f6030 DIR parent 70419f3b398b66759459cad16625254b7c1fdab8 HTML Author: sin <sin@2f30.org> Date: Fri, 3 May 2019 13:24:01 +0100 Explicitly set key to NULL in default bparam Diffstat: M block.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- DIR diff --git a/block.c b/block.c @@ -145,7 +145,11 @@ bclose(struct bctx *bctx) struct bparam * bparamdef(void) { - static struct bparam bpar = { .calgo = "snappy", .ealgo = "none" }; + static struct bparam bpar = { + .calgo = "snappy", + .ealgo = "none", + .key = NULL + }; return &bpar; }