From e71ec248bfcd876f1c83b9fc0156f871912466f6 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 1 Nov 2024 20:23:11 +0100 Subject: Remove unused variable assignment --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 98faa4a..d5bbedf 100644 --- a/src/main.c +++ b/src/main.c @@ -269,7 +269,7 @@ pattern_comp(u8view_t pat) 「regex」 */ rune ldelim, rdelim; - if ((w = ucsnext(&ldelim, &pat)) == 0) + if (ucsnext(&ldelim, &pat) == 0) cerr(EXIT_FATAL, "Premature end of pattern"); if (ldelim == '\\') cerr(EXIT_FATAL, "Cannot use %s\\%s as a delimeter", lquot, rquot); -- cgit v1.2.3