MantisBT - Zandronum |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0002432 | Zandronum | [All Projects] Bug | public | 2015-09-03 20:53 | 2018-09-30 21:49 |
|
Reporter | Dusk | |
Assigned To | Dusk | |
Priority | low | Severity | text | Reproducibility | N/A |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | 3.0-beta | |
Target Version | 3.0 | Fixed in Version | 3.0 | |
|
Summary | 0002432: Clang warnings in bots.cpp |
Description | /home/crimson/dev/zandronum-sandbox/src/bots.cpp:1722:34: warning: address of array 'g_BotInfo[this->m_ulBotInfoIdx]->szSkinName' will
always evaluate to 'true' [-Wpointer-bool-conversion]
if ( g_BotInfo[m_ulBotInfoIdx]->szSkinName )
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/home/crimson/dev/zandronum-sandbox/src/bots.cpp:1742:34: warning: address of array 'g_BotInfo[this->m_ulBotInfoIdx]->szClassName'
will always evaluate to 'true' [-Wpointer-bool-conversion]
if ( g_BotInfo[m_ulBotInfoIdx]->szClassName )
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-09-03 20:53 | Dusk | New Issue | |
2015-09-03 20:53 | Dusk | Product Version | => 3.0-beta |
2015-09-03 20:54 | Dusk | Description Updated | bug_revision_view_page.php?rev_id=8005#r8005 |
2015-09-03 20:54 | Dusk | Description Updated | bug_revision_view_page.php?rev_id=8006#r8006 |
2015-09-04 14:51 | Dusk | Note Added: 0013393 | |
2015-09-04 14:51 | Dusk | Assigned To | => Dusk |
2015-09-04 14:51 | Dusk | Status | new => needs review |
2015-09-05 09:35 | cobalt | Status | needs review => needs testing |
2015-09-05 09:35 | cobalt | Target Version | => 3.0 |
2015-09-05 09:35 | cobalt | Description Updated | bug_revision_view_page.php?rev_id=8024#r8024 |
2015-09-05 09:35 | cobalt | Note Added: 0013411 | |
2017-02-07 18:07 | Dusk | Status | needs testing => resolved |
2017-02-07 18:07 | Dusk | Fixed in Version | => 3.0 |
2017-02-07 18:07 | Dusk | Resolution | open => fixed |
2018-09-30 21:49 | Blzut3 | Status | resolved => closed |