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