commit f1589f46b7005d7e09198397edeb775f488f6030 parent 70419f3b398b66759459cad16625254b7c1fdab8 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(-)
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; }