Remove unused variable

This commit is contained in:
Abdelrahman Said 2024-03-31 17:05:04 +01:00
parent 3f9a908860
commit 645686ae22

View File

@ -182,9 +182,6 @@ i64 wapp_dstr_find(const String *str, const char *substr) {
return -1;
}
char buf[substr_length + 1];
memset(buf, 0, substr_length + 1);
const char *s1;
for (u64 i = 0; i < str->size; ++i) {
if (i + substr_length > str->size) {