1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-11 05:29:33 +00:00

Remove a watcom warning

git-svn-id: svn://svn.cc65.org/cc65/trunk@2491 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-10-10 12:24:47 +00:00
parent 4bb497f1bc
commit c569764a83

View File

@ -86,11 +86,13 @@ static unsigned long ReadO65Size (FILE* F, const O65Header* H)
* header) from the o65 file.
*/
{
unsigned long Size = 0; /* Initialize to avoid warnings */
switch (H->mode & O65_SIZE_MASK) {
case O65_SIZE_32BIT: return Read32 (F);
case O65_SIZE_16BIT: return Read16 (F);
case O65_SIZE_32BIT: Size = Read32 (F);
case O65_SIZE_16BIT: Size = Read16 (F);
default: Internal ("Invalid size field value in o65 header");
}
return Size;
}