forked from github/server
ignore PVS=-Studio files
This commit is contained in:
parent
c0c3400f21
commit
3fc3660152
|
@ -38,3 +38,5 @@ game-e3/reports/
|
|||
tags
|
||||
Thumbs.db
|
||||
.gdb_history
|
||||
*.cfg
|
||||
*.cmd
|
||||
|
|
|
@ -58,7 +58,7 @@ extern "C" {
|
|||
sppobj_t typ;
|
||||
int flag;
|
||||
union {
|
||||
struct region *r;
|
||||
struct region *r; //TODO: V117 http://www.viva64.com/en/V117 Memsize type is used in the union.
|
||||
struct unit *u;
|
||||
struct building *b;
|
||||
struct ship *sh;
|
||||
|
|
|
@ -5,12 +5,12 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
typedef union variant {
|
||||
void *v;
|
||||
void *v; //TODO: V117 http://www.viva64.com/en/V117 Memsize type is used in the union.
|
||||
int i;
|
||||
char c;
|
||||
short s;
|
||||
short sa[2];
|
||||
char ca[4];
|
||||
char ca[4]; //TODO: V112 http://www.viva64.com/en/V112 Dangerous magic number 4 used: char ca[4];.
|
||||
float f;
|
||||
} variant;
|
||||
|
||||
|
|
Loading…
Reference in New Issue