From c74a338d5bb9c2b4ee26c9b2751d0892c532c7ae Mon Sep 17 00:00:00 2001 From: cancel Date: Mon, 3 Feb 2020 17:18:23 +0900 Subject: [PATCH] Remove unused local in osotrim() --- thirdparty/oso.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thirdparty/oso.c b/thirdparty/oso.c index c025d83..30633ee 100644 --- a/thirdparty/oso.c +++ b/thirdparty/oso.c @@ -212,8 +212,8 @@ size_t osoavail(oso const *s) { void osotrim(oso *restrict s, char const *restrict cut_set) { if (!s) return; - char *str, *start, *end, *start_pos, *end_pos; - start_pos = start = str = (char *)s; + char *str, *end, *start_pos, *end_pos; + start_pos = str = (char *)s; end_pos = end = str + OSO_HDR(s)->len - 1; while (start_pos <= end && strchr(cut_set, *start_pos)) start_pos++;