aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
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);