mirror of https://github.com/wb2osz/direwolf.git
Uninitialized variables found by static analysis.
This commit is contained in:
parent
590c82b040
commit
656b1413db
|
@ -868,7 +868,7 @@ long Convert_MGRS_To_Geodetic (char* MGRS,
|
||||||
*/
|
*/
|
||||||
{ /* Convert_MGRS_To_Geodetic */
|
{ /* Convert_MGRS_To_Geodetic */
|
||||||
long zone;
|
long zone;
|
||||||
char hemisphere;
|
char hemisphere = '?';
|
||||||
double easting;
|
double easting;
|
||||||
double northing;
|
double northing;
|
||||||
long zone_exists;
|
long zone_exists;
|
||||||
|
@ -1260,9 +1260,9 @@ long Convert_MGRS_To_UPS ( char *MGRS,
|
||||||
double false_northing; /* False northing for 3rd letter */
|
double false_northing; /* False northing for 3rd letter */
|
||||||
double grid_easting; /* easting for 100,000 meter grid square */
|
double grid_easting; /* easting for 100,000 meter grid square */
|
||||||
double grid_northing; /* northing for 100,000 meter grid square */
|
double grid_northing; /* northing for 100,000 meter grid square */
|
||||||
long zone;
|
long zone = 0;
|
||||||
long letters[MGRS_LETTERS];
|
long letters[MGRS_LETTERS];
|
||||||
long in_precision;
|
long in_precision = 0;
|
||||||
int index = 0;
|
int index = 0;
|
||||||
long error_code = MGRS_NO_ERROR;
|
long error_code = MGRS_NO_ERROR;
|
||||||
|
|
||||||
|
|
|
@ -782,7 +782,7 @@ long Convert_USNG_To_Geodetic (char* USNG,
|
||||||
*/
|
*/
|
||||||
{ /* Convert_USNG_To_Geodetic */
|
{ /* Convert_USNG_To_Geodetic */
|
||||||
long zone;
|
long zone;
|
||||||
char hemisphere;
|
char hemisphere = '?';
|
||||||
double easting;
|
double easting;
|
||||||
double northing;
|
double northing;
|
||||||
long zone_exists;
|
long zone_exists;
|
||||||
|
@ -1178,9 +1178,9 @@ long Convert_USNG_To_UPS ( char *USNG,
|
||||||
double false_northing; /* False northing for 3rd letter */
|
double false_northing; /* False northing for 3rd letter */
|
||||||
double grid_easting; /* easting for 100,000 meter grid square */
|
double grid_easting; /* easting for 100,000 meter grid square */
|
||||||
double grid_northing; /* northing for 100,000 meter grid square */
|
double grid_northing; /* northing for 100,000 meter grid square */
|
||||||
long zone;
|
long zone = 0;
|
||||||
long letters[USNG_LETTERS];
|
long letters[USNG_LETTERS];
|
||||||
long in_precision;
|
long in_precision = 0;
|
||||||
int index = 0;
|
int index = 0;
|
||||||
long error_code = USNG_NO_ERROR;
|
long error_code = USNG_NO_ERROR;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue