UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2913 cppcheck warnings
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    General
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2913 Item 2913] imported from sourceforge.net tracker on 2013-01-28 19:54:51

[src/client/renderer/r_flare.c:179]: (error) Buffer access out-of-bounds: verts
[src/client/renderer/r_program.c:505]: (information) The scope of the variable 'insertedLen' can be reduced
[src/common/mem.c:491]: (style) Variable 'sum' is assigned a value that is never used
[src/client/ui/node/ui_node_window.c:329]: (warning) Found calculation inside sizeof()
[src/client/ui/ui_data.c:186]: (warning) Found calculation inside sizeof()
[src/client/ui/ui_data.c:187]: (warning) Found calculation inside sizeof()
[src/ports/unix/unix_console.c:77]: (style) Variable 'size' is assigned a value that is never used
[src/ports/unix/unix_console.c:107]: (style) Variable 'size' is assigned a value that is never used
[src/ports/unix/unix_console.c:282]: (style) Variable 'size' is assigned a value that is never used
[src/ports/unix/unix_main.c:243]: (style) Variable 'filenumber' is assigned a value that is never used
[src/ports/unix/unix_shared.c:81]: (style) Found obsolete function 'usleep'. It is recommended that new applications use the 'nanosleep' or 'setitimer' function
[src/ports/windows/win_shared.c:421]: (error) Memory leak: str
[src/server/sv_game.c:347]: (style) struct or union member 'eventNames_t::eventNum' is never used
[src/tests/test_campaign.c:176]: (style) Variable 'campaign' is assigned a value that is never used
[src/tests/test_campaign.c:329]: (style) Variable 'campaign' is assigned a value that is never used
[src/tests/test_campaign.c:537]: (style) Variable 'campaign' is assigned a value that is never used
===== Comments Ported from Sourceforge =====

====== geever (2011-06-22 20:36:32) ======

test_campaign.c ones are fixed in 4abddec224efa609726c52021174ba6677965a55.

-geever
====== aduke1 (2012-10-04 21:28:20.512000) ======

The above list is outdated. Newer results are around here:
http://ninex.info:8010/builders/cppcheck/builds/165/steps/shell/logs/stdio

tlh2000, Question: how seriously do we want to take those messages ? Fix them all ?

- **assigned_to**: Martin Gerhardy
- **milestone**: --> 2.4

====== tlh2000 (2012-12-14 08:01:14.327000) ======

- **status**: open --> closed
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif