path: root/dyn_load.c
diff options
authorivmai <ivmai>2011-06-30 17:43:44 +0200
committerIvan Maidanski <>2011-07-26 19:07:00 +0200
commitcea7d64af0f72989c690b0b0b8655a5f2d7ab2ad (patch)
tree0503f942088470083b0a292980ce05f8a35d860f /dyn_load.c
parent45a388771686fd791fc753fa877fc794b04d3c32 (diff)
2011-06-30 Ivan Maidanski <>
* 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.
Diffstat (limited to 'dyn_load.c')
1 files changed, 0 insertions, 1 deletions
diff --git a/dyn_load.c b/dyn_load.c
index 563550d..28a7478 100644
--- a/dyn_load.c
+++ b/dyn_load.c
@@ -273,7 +273,6 @@ STATIC word GC_register_map_entries(char *maps)
char *prot;
char *buf_ptr = maps;
- int count;
ptr_t start, end;
unsigned int maj_dev;
ptr_t least_ha, greatest_ha;