isolated, nameless union in struct OPCODE, named union OPCODE

There were no other members of struct `tagOPCODE` besides one nameless union, so, to fix some nameless union compiler warnings, I deleted struct tagOPCODE and named the nameless union, union tagOPCODE.  Since "OpCode.h" is #include'd 9 times across the RSP source, technically this commit fixes 9 warning messages, even though it's really just 1 warning.
This commit is contained in:
unknown 2015-01-25 13:58:12 -05:00
parent b09dbcd2e3
commit 66850bf553
1 changed files with 35 additions and 39 deletions

View File

@ -29,9 +29,7 @@
#include "Types.h"
typedef struct tagOPCODE {
union {
typedef union tagOPCODE {
unsigned long Hex;
unsigned char Ascii[4];
@ -71,8 +69,6 @@ typedef struct tagOPCODE {
unsigned : 5;
unsigned : 6;
};
};
} OPCODE;
//RSP OpCodes