r8631 Sunday 25th July, 2010 at 22:19:05 UTC by Jonathan Gevaryahu
'[variable] may be used uninitialized in this function' fixes
[src/osd/winui]mui_util.c treeview.c

src/osd/winui/mui_util.c
r8630r8631
414414         gameinfo->usesSamples = FALSE;
415415         
416416         {
417            const device_config_sound_interface *sound;
417            const device_config_sound_interface *sound = NULL;
418418            const char * const * samplenames = NULL;
419419            for (bool gotone = config->m_devicelist.first(sound); gotone; gotone = sound->next(sound)) {
420420               if (sound->devconfig().type() == SOUND_SAMPLES)
src/osd/winui/treeview.c
r8630r8631
926926   LPTREEFOLDER folder;
927927   machine_config *config = NULL;
928928   const machine_config_token *last_tokens = NULL;
929   const device_config_execute_interface *device;
929   const device_config_execute_interface *device = NULL;
930930   int nFolder = numFolders;
931931
932932   for (i = 0; drivers[i] != NULL; i++)
r8630r8631
998998   LPTREEFOLDER folder;
999999   machine_config *config = NULL;
10001000   const machine_config_token *last_tokens = NULL;
1001   const device_config_sound_interface *device;
1001   const device_config_sound_interface *device = NULL;
10021002   int nFolder = numFolders;
10031003
10041004   for (i = 0; drivers[i] != NULL; i++)

Previous 509070 RevisionsNext 50


© 1998-2010 The MESS Team