* tests/test-perror2.c (main): Assign the return value of strerror to a
'const char *' variable.
+2020-10-13 Philipp Klaus Krause <pkk@spth.de> (tiny change)
+
+ Don't declare an intention to modify the return value of strerror.
+ * tests/test-perror2.c (main): Assign the return value of strerror to a
+ 'const char *' variable.
+
2020-10-11 Bruno Haible <bruno@clisp.org>
*printf: Avoid "expanded before it was required" warning.
for (i = 0; i < SIZEOF (errs); i++)
{
char buf[256];
- char *err = strerror (errs[i]);
+ const char *err = strerror (errs[i]);
ASSERT (err);
ASSERT (strlen (err) < sizeof buf);