|
From: | Paul Eggert |
Subject: | Re: Unused parameter warnings |
Date: | Sun, 11 Oct 2020 16:10:57 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
-static size_t +static size_t _GL_ATTRIBUTE_PURE gl_tree_size (gl_list_t list)
Although changes like these don't break anything, I generally don't bother doing them if only older GCCs warn about a missing attribute, under the theory that people stuck with older compilers can build with --disable-gcc-warnings and it lessens the maintenance burden if we don't bloat the code with obvious detail that a decent compiler should deduce automatically.
[Prev in Thread] | Current Thread | [Next in Thread] |