logo

utils-std

Collection of commonly available Unix tools
commit: b309903b578f59a1655deb2dbcebf527271b700f
parent bc03a36abe59c1f95bbdd27e7aa2f83ce4fe269c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu,  2 May 2024 13:13:48 +0200

lib/tr_str.c: Clean dead assignment

Diffstat:

Mlib/tr_str.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/tr_str.c b/lib/tr_str.c @@ -128,7 +128,7 @@ bracket(STR *s) s->str = (unsigned char *)p + 2; return (1); case '=': /* "[=equiv=]" */ - if((p = strstr((char *)s->str + 2, "=]")) == NULL) return (0); + if(strstr((char *)s->str + 2, "=]") == NULL) return (0); s->str += 2; genequiv(s); return (1);