]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed dict ptr init
authorYann Collet <cyan@fb.com>
Thu, 17 Oct 2019 21:15:00 +0000 (14:15 -0700)
committerYann Collet <cyan@fb.com>
Thu, 17 Oct 2019 21:15:00 +0000 (14:15 -0700)
doc/educational_decoder/harness.c

index 338394916d670020987db79731637e63300d54b3..de2e1235814052bdbc8831725e99dd0fb0859c23 100644 (file)
@@ -85,7 +85,7 @@ int main(int argc, char **argv)
     u8* input;
     size_t const input_size = read_file(argv[1], &input);
 
-    u8* dict;
+    u8* dict = NULL;
     size_t dict_size = 0;
     if (argc >= 4) {
         dict_size = read_file(argv[3], &dict);