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

                 Summary: No artihmetics on uninitialized ww
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sat 15 Feb 2014 02:37:35 AM EET
                Category: client-sdl
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.4.3, 2.5.0, 2.6.0

    _______________________________________________________

Details:

Clang complains about artihmetics done to possibly uninitialized variable
'ww'. Checking this in more detail turns out that the result is never used
anyway, so just remove the code line.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 15 Feb 2014 02:37:35 AM EET  Name: UnusedWW.patch  Size: 2kB   By:
cazfi

<http://gna.org/patch/download.php?file_id=20053>
-------------------------------------------------------
Date: Sat 15 Feb 2014 02:37:35 AM EET  Name: UnusedWW-S2_5.patch  Size: 1021B 
 By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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