]> granicus.if.org Git - gc/commit
Workaround 'obsolete function alloca() called' cppcheck warnings
authorIvan Maidanski <ivmai@mail.ru>
Tue, 18 Oct 2016 09:24:34 +0000 (12:24 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 18 Oct 2016 09:24:34 +0000 (12:24 +0300)
commitedd98e89ab2332eadc7eb14e239374a5f1900800
tree191dae71c8073c86facd6a29d29bab1290f5d970
parentdd13a1fc1ef0c374134824dfff8dcf05cdc2069c
Workaround 'obsolete function alloca() called' cppcheck warnings

* dyn_load.c [AIX] (GC_register_dynamic_libraries): Code refactoring
to have alloca() call only once (at the beginning of a block); use
variable-length array instead of alloca() if CPPCHECK.
dyn_load.c