URL:
  <http://gna.org/bugs/?22026>

                 Summary: is_native_move(): missing "break" in switch
statement
                 Project: Freeciv
            Submitted by: pepeto
            Submitted on: Thu 08 May 2014 10:34:51 AM CEST
                Category: general
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: Ready For Test
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: trunk r24826
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.6.0

    _______________________________________________________

Details:

When reading is_native_move(), I noticed that breaks were missing to separate
cases in the switch statement.

The attached patch returns TRUE as soon as possible and reduce the huge number
of spaces used for the indentation.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 08 May 2014 10:34:51 AM CEST  Name: is_native_move.diff  Size: 4kB  
By: pepeto

<http://gna.org/bugs/download.php?file_id=20688>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?22026>

_______________________________________________
  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