URL:
  <http://gna.org/patch/?6502>

                 Summary: Cleanup begin_turn() is_new_turn checks
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Wed 28 Oct 2015 01:12:30 AM EET
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0, 3.0.0

    _______________________________________________________

Details:

Most code blocks in begin_turn() are only executed if is_new_turn is set.
Cleanup unneeded "if (is_new_turn" constructs away when consecutive blocks can
be joined to just one block where the check is in the beginning.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 28 Oct 2015 01:12:30 AM EET  Name: IsNewTurnCleanup.patch  Size: 2kB
  By: cazfi

<http://gna.org/patch/download.php?file_id=25502>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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