diff options
Diffstat (limited to '0001-Fix-unused-but-set-variable.patch')
| -rw-r--r-- | 0001-Fix-unused-but-set-variable.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/0001-Fix-unused-but-set-variable.patch b/0001-Fix-unused-but-set-variable.patch new file mode 100644 index 0000000..1885743 --- /dev/null +++ b/0001-Fix-unused-but-set-variable.patch @@ -0,0 +1,40 @@ +From 0345e17e4d8d42e0b6876d4d88a9ee4c88abf567 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Thu, 12 Feb 2026 10:14:49 +0100 +Subject: [PATCH] Fix unused-but-set-variable + +--- + csv.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/csv.c b/csv.c +index 9d6f778..6f7ece6 100644 +--- a/csv.c ++++ b/csv.c +@@ -382,7 +382,6 @@ static HashTable* rfc4180_string_to_hashtable( + ZEND_ASSERT(row < end_buffer); + + smart_str field_value = {0}; +- size_t field_value_length = 0; + + /* Main loop to "tokenize" the row */ + while (row < end_buffer) { +@@ -431,7 +430,6 @@ static HashTable* rfc4180_string_to_hashtable( + + smart_str_free(&field_value); + +- field_value_length = 0; + at_start_of_field = true; + continue; + } +@@ -453,7 +451,6 @@ static HashTable* rfc4180_string_to_hashtable( + consume: + at_start_of_field = false; + smart_str_appendc(&field_value, row[0]); +- field_value_length++; + row++; + } + +-- +2.53.0 + |
