aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-11-01 20:23:11 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-11-01 20:23:11 +0100
commite71ec248bfcd876f1c83b9fc0156f871912466f6 (patch)
tree952df7f1c2e083fd109f450d6d4cdfc52e23aac1 /src
parenta2cd729ed21f366de52f6476dd8e794370a7bb4a (diff)
Remove unused variable assignment
Diffstat (limited to 'src')
-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);