|
From: | Paul Eggert |
Subject: | bug#23640: 25.1.50; Getting rid of compiler warnings |
Date: | Tue, 7 Jun 2016 00:15:30 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
Richard Stallman wrote:
char *ident_start = UNUSED;
That would set ident_start to zero even when GCC warnings are disabled, which would be a bit slower since ident_start does not need to be initialized. Unfortunately there is no syntax in C for a no-op initializer, so there's no way to define UNUSED so that it initializes ident_start when GCC warnings are enabled and leaves ident_start uninitialized otherwise.
[Prev in Thread] | Current Thread | [Next in Thread] |