]> granicus.if.org Git - gc/commit
2011-06-30 Ivan Maidanski <ivmai@mail.ru>
authorivmai <ivmai>
Thu, 30 Jun 2011 15:43:44 +0000 (15:43 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:07:00 +0000 (21:07 +0400)
commitcea7d64af0f72989c690b0b0b8655a5f2d7ab2ad
tree0503f942088470083b0a292980ce05f8a35d860f
parent45a388771686fd791fc753fa877fc794b04d3c32
2011-06-30  Ivan Maidanski <ivmai@mail.ru>

* dyn_load.c (GC_register_map_entries): Remove "count" local
variable as unused.
* gc_dlopen.c (disable_gc_for_dlopen): Define only if not
USE_PROC_FOR_LIBRARIES.
* malloc.c (calloc): Add parentheses around '&&' operator.
* mark.c (GC_noop_sink): New global variable (instead of a static
local variable inside GC_noop1).
* mark.c (GC_noop1): Use GC_noop_sink variable (to prevent
"variable set but not used" compiler warning).
* include/private/gcconfig.h (USE_PROC_FOR_LIBRARIES): Define only
if undefined yet.
* tests/smash_test.c (main): Don't dereference "p" local variable
if it is NULL.
* tests/staticrootslib.c (main): Ditto.
ChangeLog
dyn_load.c
gc_dlopen.c
include/private/gcconfig.h
malloc.c
mark.c
tests/smash_test.c
tests/staticrootslib.c