diff options
author | Andy Wingo <wingo@pobox.com> | 2011-11-29 13:43:52 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-11-29 13:43:52 +0100 |
commit | 8ac704338d5e548f9dbf6ce3b12ef68a972e099b (patch) | |
tree | c5b9a2dbbb737900a63da320d75be536c3440d8a | |
parent | d1c036248c2d50cd7e288bb82f83625813ccecf2 (diff) | |
download | guile-8ac704338d5e548f9dbf6ce3b12ef68a972e099b.tar.gz |
fix uninitialized variable in gc.c
* libguile/gc.c (get_image_size): Fix use of uninitialized variable.
-rw-r--r-- | libguile/gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/gc.c b/libguile/gc.c index e36f0a1e4..cc0904e70 100644 --- a/libguile/gc.c +++ b/libguile/gc.c @@ -774,7 +774,7 @@ static size_t get_image_size (void) { unsigned long size, resident, share; - size_t ret; + size_t ret = 0; FILE *fp = fopen ("/proc/self/statm", "r"); |