Remove unused variable
This commit is contained in:
parent
3f9a908860
commit
645686ae22
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user