Avoid warnings about variables never read.

This commit is contained in:
Patrick Pelissier committed 2023-02-24 19:56:26 +01:00
1 parent f57a0e0bf8
commit fbab093d52
2 files changed
+2 -1

No files matched your search

-1
View File
@@ -888,7 +888,6 @@ m_str1ng_replace_all_cstr_1ge2 (m_string_t v, const char str1[], size_t str1len,
memmove(dst, src, (size_t) (occ - src));
}
dst += (occ - src);
src = occ;
// Copy the replaced string
memcpy(dst, str2, str2len);
dst += str2len;