]> Savannah Git Hosting - gnulib.git/commit
canonicalize, canonicalize-lgpl: remove lint
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 25 Dec 2020 05:33:18 +0000 (21:33 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 25 Dec 2020 05:49:01 +0000 (21:49 -0800)
commitd411aa6ffa127d2707958a364896a0fd7d500b1b
tree05b136a85ad73d1916f72c1e5a15735e6028f1d1
parent1504c11f8a5cca19eae97afb71644a4123c343ab
canonicalize, canonicalize-lgpl: remove lint

Pacify GCC.  Some of these problems were reported by Bruno Haible in:
https://lists.gnu.org/r/bug-gnulib/2020-12/msg00217.html
* lib/canonicalize-lgpl.c, lib/canonicalize.c:
Sort shared include directives, for consistency.
(IF_LINT): New macro.
(suffix_requires_dir_check): Mark with _GL_ATTRIBUTE_PURE.
* lib/canonicalize-lgpl.c (GCC_LINT, _GL_ATTRIBUTE_PURE) [_LIBC]:
New macros.
(realpath_stk): Suppress bogus -Wmaybe-uninitialized warning.
* lib/canonicalize.c (canonicalize_filename_mode_stk):
Omit unused local.  Suppress bogus -Wmaybe-uninitialized warning.
ChangeLog
lib/canonicalize-lgpl.c
lib/canonicalize.c