Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002432Zandronum[All Projects] Bugpublic2015-09-03 20:532018-09-30 21:49
ReporterDusk 
Assigned ToDusk 
PrioritylowSeveritytextReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.0-beta 
Target Version3.0Fixed in Version3.0 
Summary0002432: 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 )
        ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
Attached Files

- Relationships

-  Notes
User avatar (0013393)
Dusk (developer)
2015-09-04 14:51

'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/16 [^]'
User avatar (0013411)
cobalt (updater)
2015-09-05 09:35

Issue addressed by commit 815c49a3cd98: Remove tautological checks pointed out by clang (fixes 2432)
Committed by Teemu Piippo [Dusk] on Friday 04 September 2015 17:50:29

Changes in files:

 src/bots.cpp | 49 +++++++++++++++++++++----------------------------
 1 files changed, 21 insertions(+), 28 deletions(-)


Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- 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 View Revisions
2015-09-03 20:54 Dusk Description Updated View Revisions
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 View Revisions
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






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker