tExplicitly set key to NULL in default bparam - dedup - deduplicating backup program
(HTM) git clone git://git.z3bra.org/dedup.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit f1589f46b7005d7e09198397edeb775f488f6030
(DIR) parent 70419f3b398b66759459cad16625254b7c1fdab8
(HTM) 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
t@@ -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;
}