]> wimlib.net Git - wimlib/blobdiff - include/wimlib/lz_sarray.h
lz_sarray_get_matches(): Remove unnecessary check
[wimlib] / include / wimlib / lz_sarray.h
index 0c7007b704b855bf7799aae044f6ce4fbf1b49e1..5b63ae7c74e9dcafbb075d7ba2ab4559ac36284d 100644 (file)
@@ -409,10 +409,10 @@ extend_left:
                                }
                        }
 
-                       /* Here we have lenL < lenR.  Extend right, unless the
-                        * minimum match length would be underrun.  */
-                       if (lenR == 0)
-                               return nmatches;
+                       /* Here we have lenL < lenR.  Extend right.
+                        * (No check for whether the minimum match length has
+                        * been underrun is needed, provided that such lengths
+                        * are marked as 0.)  */
                        goto extend_right;
                }
        }