]> mj.ucw.cz Git - libucw.git/blobdiff - lib/lizard.c
Try to merge recent changes in v3.9 to image branch...
[libucw.git] / lib / lizard.c
index 945fe877242cd377e7979e53852912b238c2ac67..10fd5f0c9fb2154d920cea743c4b77b23cb36db7 100644 (file)
@@ -177,7 +177,7 @@ lizard_compress(byte *in, uns in_len, byte *out)
   while (in < in_end)
   {
     uns hash = hashf(in);
-    byte *best;
+    byte *best = NULL;
     uns len = find_match(hash_tab[hash], hash_rec, in, in_end, &best, head);
     if (len < 3)
 #if 0                  // TODO: now, our routine does not detect matches of length 2