ref: c74a338d5bb9c2b4ee26c9b2751d0892c532c7ae
parent: 13b7c9b4b941d95c24abba03bfd343174bd204da
author: cancel <cancel@cancel.fm>
date: Mon Feb 3 12:18:23 EST 2020
Remove unused local in osotrim()
--- a/thirdparty/oso.c
+++ b/thirdparty/oso.c
@@ -212,8 +212,8 @@
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++;