mirror of
https://github.com/cc65/cc65.git
synced 2025-01-13 09:31:53 +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:
parent
4bb497f1bc
commit
c569764a83
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user