Workaround 'unused variable' cppcheck style warnings
authorIvan Maidanski <ivmai@mail.ru>
Mon, 17 Oct 2016 07:01:16 +0000 (10:01 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 17 Oct 2016 07:03:46 +0000 (10:03 +0300)
commit5aaa3cc6f9aa5b2f0956f5be55e2143605ab7026
tree7e999c3671ae187367ad3d99816ed63006396cb7
parent81d04a6b60b511fb5d9016b2335d1e4c3447117f
Workaround 'unused variable' cppcheck style warnings

* include/private/gc_locks.h [PCR && THREADS] (DCL_LOCK_STATE): Define
to empty if CPPCHECK.
* mach_dep.c [MACOS && __MWERKS__ && POWERPC] (getRegisters): Declare
as external of CPPCHECK (as cppcheck does not recognize "asm" in
function declaration).
include/private/gc_locks.h
mach_dep.c