IMPROVES-i10 check sequal for null

This commit is contained in:
2026-05-22 19:24:42 -03:00
parent fe3be8037b
commit 975bcfbe1f

View File

@@ -169,6 +169,8 @@ int sequal(char *a, char *b, float thr, float *ratio, char *s1, char *s2)
{ {
int i; int i;
if(!a || !b || !s1 || !s2 || !ratio) return 3; /* error sentinel */
// remove accents // remove accents
asciify(a, s1); asciify(a, s1);
asciify(b, s2); asciify(b, s2);