A lot of cleanaps, got rid of all warnings with -Wall;
The makefile now uses -Wall.
This commit is contained in:
@@ -118,7 +118,7 @@ int tandy_eeprom_read()
|
||||
void *tandy_eeprom_init()
|
||||
{
|
||||
tandy_eeprom_t *eeprom = malloc(sizeof(tandy_eeprom_t));
|
||||
FILE *f;
|
||||
FILE *f = NULL;
|
||||
|
||||
memset(eeprom, 0, sizeof(tandy_eeprom_t));
|
||||
|
||||
@@ -148,7 +148,7 @@ void *tandy_eeprom_init()
|
||||
void tandy_eeprom_close(void *p)
|
||||
{
|
||||
tandy_eeprom_t *eeprom = (tandy_eeprom_t *)p;
|
||||
FILE *f;
|
||||
FILE *f = NULL;
|
||||
|
||||
switch (eeprom->romset)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user