From 645686ae22412610cb95d10be063aa9f6ce71615 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sun, 31 Mar 2024 17:05:04 +0100 Subject: [PATCH] Remove unused variable --- dstr/src/dstr.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dstr/src/dstr.c b/dstr/src/dstr.c index 08a8ecb..6b5f4ef 100644 --- a/dstr/src/dstr.c +++ b/dstr/src/dstr.c @@ -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) {