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:
parent
b09dbcd2e3
commit
66850bf553
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue