Search
lxdream.org :: lxdream/src/gui/gdrom_menu.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gui/gdrom_menu.c
changeset 479:e030b18d2744
prev470:e09a16196693
next508:ccd2c10edfe6
author nkeynes
date Wed Oct 31 11:22:10 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Fix uninitialized value
file annotate diff log raw
1.1 --- a/src/gui/gdrom_menu.c Sun Oct 28 08:29:29 2007 +0000
1.2 +++ b/src/gui/gdrom_menu.c Wed Oct 31 11:22:10 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: gdrom_menu.c,v 1.3 2007-10-28 08:29:29 nkeynes Exp $
1.6 + * $Id: gdrom_menu.c,v 1.4 2007-10-31 11:22:10 nkeynes Exp $
1.7 *
1.8 * Creates and manages the GD-Rom attachment menu.
1.9 *
1.10 @@ -68,7 +68,7 @@
1.11 }
1.12
1.13 GList *ptr;
1.14 - int size;
1.15 + int size = 0;
1.16 for( ptr = gdrom_recent_list; ptr != NULL; ptr = g_list_next(ptr) ) {
1.17 size += strlen( (gchar *)ptr->data ) + 1;
1.18 }
.