Update of patch #4378 (project freeciv):

                  Status:          Ready For Test => In Progress            

    _______________________________________________________

Follow-up Comment #3:

../../../../src.patched/ai/default/advdiplomacy.c: In function 'dai_share':
../../../../src.patched/ai/default/advdiplomacy.c:1118:26: error: 'tech_p2'
may be used uninitialized in this function [-Werror=maybe-uninitialized]
     dai_diplomacy_suggest(player1, player2, CLAUSE_ADVANCE, tech_p2);
                          ^
../../../../src.patched/ai/default/advdiplomacy.c:1056:34: note: 'tech_p2' was
declared here
   Tech_type_id tech_p1 = A_NONE, tech_p2;
                                  ^
../../../../src.patched/ai/default/advdiplomacy.c:1112:40: error: 'best_diff'
may be used uninitialized in this function [-Werror=maybe-uninitialized]
     if (tech_p1 != A_NONE && best_diff == 0) {
                                        ^
../../../../src.patched/ai/default/advdiplomacy.c:1055:7: note: 'best_diff'
was declared here
   int best_diff;
       ^


    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?4378>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to