mirror of
https://github.com/nasa/trick.git
synced 2025-06-24 01:28:46 +00:00
Some unit test warnings addressed. (#515)
* Removed purple warnings from unit test compilation. * "Fixed const corectness bug. Added more warning fixes." * Fixed warning issue. * Removed null checking and (char*) casting. * Changed sizeof parameter to variable from data structure.
This commit is contained in:
committed by
GitHub
parent
0b9fbe1762
commit
6184aa6cd9
@ -55,8 +55,8 @@ class ClassOfEverything {
|
||||
float * fap[4] ; /* kg blah */
|
||||
float ** fpp ; /* kg blah */
|
||||
|
||||
float f_rad ; /* r float test value */
|
||||
double d_deg ; /* d blah */
|
||||
float f_rad ; /* rad float test value */
|
||||
double d_deg ; /* degree blah */
|
||||
|
||||
char c ; /* -- blah */
|
||||
char ca[20] ; /* -- blah */
|
||||
|
@ -16,8 +16,8 @@ typedef struct {
|
||||
float f[3] ; /* m/s2 -- */
|
||||
double d[3] ; /* kg*m/s2 -- */
|
||||
unsigned short us[3] ; /* N -- */
|
||||
unsigned int ui[3] ; /* cnt -- */
|
||||
unsigned long ul[3] ; /* v -- */
|
||||
unsigned int ui[3] ; /* count -- */
|
||||
unsigned long ul[3] ; /* V -- */
|
||||
long long ll[3] ; /* K -- */
|
||||
|
||||
} STRUCT_1 ;
|
||||
|
Reference in New Issue
Block a user