summaryrefslogtreecommitdiff
path: root/libc/string/strstr.c
diff options
context:
space:
mode:
authorMarcus Haehnel <marcus.haehnel@kernkonzept.com>2024-02-20 09:39:28 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-02-20 19:37:24 +0100
commit76c311c44ab684dca1ac0834f3afe40188ef8812 (patch)
treed402353ee21c9d4b7d69a35492eeadd352604c2c /libc/string/strstr.c
parent8fa5437044b7ebc6971f987644d48507e0fbc5f9 (diff)
Remove duplicate semicolons
While they are not a problem per-se they cause issues with some tooling (such as clang coverage) and are confusing to the reader.
Diffstat (limited to 'libc/string/strstr.c')
-rw-r--r--libc/string/strstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/strstr.c b/libc/string/strstr.c
index 7e2a64e7d..bf56b9c12 100644
--- a/libc/string/strstr.c
+++ b/libc/string/strstr.c
@@ -22,7 +22,7 @@ Wchar *Wstrstr(const Wchar *s1, const Wchar *s2)
do {
if (!*p) {
- return (Wchar *) s1;;
+ return (Wchar *) s1;
}
if (*p == *s) {
++p;