@@ -3551,7 +3551,7 @@ int Fred_mission_save::save_objects()
35513551 fout (" \n $Arrival Anchor:" );
35523552 }
35533553
3554- z = shipp->arrival_anchor ;
3554+ int z = shipp->arrival_anchor ;
35553555 if (z < 0 ) {
35563556 fout (" <error>" );
35573557 } else if (z & SPECIAL_ARRIVAL_ANCHOR_FLAG) {
@@ -4836,14 +4836,14 @@ int Fred_mission_save::save_waypoint_list(const waypoint_list* wp_list)
48364836int Fred_mission_save::save_wings ()
48374837{
48384838 SCP_string sexp_out;
4839- int i, j, z, count = 0 ;
4839+ int count = 0 ;
48404840
48414841 fred_parse_flag = 0 ;
48424842 required_string_fred (" #Wings" );
48434843 parse_comments (2 );
48444844 fout (" \t\t ;! %d total" , Num_wings);
48454845
4846- for (i = 0 ; i < MAX_WINGS; i++) {
4846+ for (int i = 0 ; i < MAX_WINGS; i++) {
48474847 if (!Wings[i].wave_count )
48484848 continue ;
48494849
@@ -4913,7 +4913,7 @@ int Fred_mission_save::save_wings()
49134913 else
49144914 fout (" \n $Arrival Anchor:" );
49154915
4916- z = Wings[i].arrival_anchor ;
4916+ int z = Wings[i].arrival_anchor ;
49174917 if (z < 0 ) {
49184918 fout (" <error>" );
49194919 } else if (z & SPECIAL_ARRIVAL_ANCHOR_FLAG) {
@@ -5018,7 +5018,7 @@ int Fred_mission_save::save_wings()
50185018 parse_comments ();
50195019 fout (" (\t\t ;! %d total\n " , Wings[i].wave_count );
50205020
5021- for (j = 0 ; j < Wings[i].wave_count ; j++) {
5021+ for (int j = 0 ; j < Wings[i].wave_count ; j++) {
50225022 // ship = Wings[i].ship_index[j];
50235023 // if (Objects[Ships[ship].objnum].type == OBJ_START)
50245024 // fout("\t\"Player 1\"\n");
0 commit comments