File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -868,7 +868,7 @@ long Convert_MGRS_To_Geodetic (char* MGRS,
868
868
*/
869
869
{ /* Convert_MGRS_To_Geodetic */
870
870
long zone ;
871
- char hemisphere ;
871
+ char hemisphere = '?' ;
872
872
double easting ;
873
873
double northing ;
874
874
long zone_exists ;
@@ -1260,9 +1260,9 @@ long Convert_MGRS_To_UPS ( char *MGRS,
1260
1260
double false_northing ; /* False northing for 3rd letter */
1261
1261
double grid_easting ; /* easting for 100,000 meter grid square */
1262
1262
double grid_northing ; /* northing for 100,000 meter grid square */
1263
- long zone ;
1263
+ long zone = 0 ;
1264
1264
long letters [MGRS_LETTERS ];
1265
- long in_precision ;
1265
+ long in_precision = 0 ;
1266
1266
int index = 0 ;
1267
1267
long error_code = MGRS_NO_ERROR ;
1268
1268
Original file line number Diff line number Diff line change @@ -782,7 +782,7 @@ long Convert_USNG_To_Geodetic (char* USNG,
782
782
*/
783
783
{ /* Convert_USNG_To_Geodetic */
784
784
long zone ;
785
- char hemisphere ;
785
+ char hemisphere = '?' ;
786
786
double easting ;
787
787
double northing ;
788
788
long zone_exists ;
@@ -1178,9 +1178,9 @@ long Convert_USNG_To_UPS ( char *USNG,
1178
1178
double false_northing ; /* False northing for 3rd letter */
1179
1179
double grid_easting ; /* easting for 100,000 meter grid square */
1180
1180
double grid_northing ; /* northing for 100,000 meter grid square */
1181
- long zone ;
1181
+ long zone = 0 ;
1182
1182
long letters [USNG_LETTERS ];
1183
- long in_precision ;
1183
+ long in_precision = 0 ;
1184
1184
int index = 0 ;
1185
1185
long error_code = USNG_NO_ERROR ;
1186
1186
You can’t perform that action at this time.
0 commit comments