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

                 Summary: 'willBePossible' used uninitialized
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Wed 07 May 2014 02:30:32 AM EEST
                Category: ai
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: Ready For Test
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.6.0

    _______________________________________________________

Details:

Found when compiling with clang.

willBePossible is ever only set to TRUE, so it's uninitialized when it's being
checked. Fix attached

Fix also naming of the variables to match coding style.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 07 May 2014 02:30:32 AM EEST  Name: InitWillBePossible.patch  Size:
2kB   By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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