1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-29 14:30:34 +02:00

fix uninitialized variable in gc.c

* libguile/gc.c (get_image_size): Fix use of uninitialized variable.
This commit is contained in:
Andy Wingo 2011-11-29 13:43:52 +01:00
parent d1c036248c
commit 8ac704338d

View file

@ -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");