|
| From: | Pádraig Brady |
| Subject: | Re: [PATCH] maint: use C99 initialization syntax for single-variable 'for' loops |
| Date: | Mon, 17 Nov 2025 12:04:12 +0000 |
| User-agent: | Mozilla Thunderbird Beta |
On 17/11/2025 04:23, Collin Funk wrote:
@@ -724,7 +722,6 @@ digest_word_file (char const *file_name, WORD_TABLE *table)
static void
find_occurs_in_text (int file_index)
{
- char *cursor; /* for scanning the source text */
char *scan; /* for scanning the source text also */
Cool. Was the change automated with something like coccinelle etc.?
One small s/ also// tweak in the last comment here would be good.
Otherwise +1
thanks!
Padraig
@@ -724,7 +722,6 @@ digest_word_file (char const *file_name, WORD_TABLE *table)
static void
find_occurs_in_text (int file_index)
{
- char *cursor; /* for scanning the source text */
char *scan; /* for scanning the source text also */
| [Prev in Thread] | Current Thread | [Next in Thread] |