Workaround 'passing untyped NULL to variadic function' cppcheck warning
authorIvan Maidanski <ivmai@mail.ru>
Tue, 18 Oct 2016 08:14:22 +0000 (11:14 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 18 Oct 2016 08:14:22 +0000 (11:14 +0300)
commit0a1446ec893137544d676905291fd21c7fe6cf00
treea87962bb69f338b4423132fb9f707ee12a98c3d1
parent138c3bb2d817ebe07a1b6e18de54ec9448aed403
Workaround 'passing untyped NULL to variadic function' cppcheck warning

The portability warning "Passing NULL after the last typed argument to
a variadic function leads to undefined behavior" was reported for
ABORT_ARG2(..., DATASTART, DATAEND) call in GC_register_data_segments.

* include/private/gcconfig.h [SYMBIAN || __EMSCRIPTEN__] (DATASTART,
DATAEND): Explicitly cast NULL to ptr_t.
include/private/gcconfig.h