]> granicus.if.org Git - gc/commit
Workaround 'local variable end shadows outer symbol' cppcheck warnings
authorIvan Maidanski <ivmai@mail.ru>
Fri, 9 Nov 2018 07:35:36 +0000 (10:35 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 9 Nov 2018 07:39:41 +0000 (10:39 +0300)
commita927a79538b4318045e4d79688e24f734b6cce82
treed2053bb47a5476c6ce5c57b6f137aec82845d272
parentae06939a1f81cbac127f849697fca511cfe9024e
Workaround 'local variable end shadows outer symbol' cppcheck warnings

* include/private/gcconfig.h [SPARC && FREEBSD] (end): Do not declare
external variable if CPPCHECK.
* include/private/gcconfig.h [MIPS && EWS4800 && (!_MIPS_SZPTR
|| _MIPS_SZPTR!=64)] (end): Likewise.
* include/private/gcconfig.h [ALPHA && FREEBSD] (end): Likewise.
* include/private/gcconfig.h [!DATAEND] (end): Likewise.
* include/private/gcconfig.h [I386 && RTEMS] (end): Do not declare
(because it automatically declared in DATAEND is undefined).
* include/private/gcconfig.h [I386 && RTEMS] (DATAEND): Do not define.
* include/private/gcconfig.h [MIPS && EWS4800]: Adjust indentation.
include/private/gcconfig.h