Anonymous | Login | Signup for a new account | 2025-06-18 19:15 UTC | ![]() |
My View | View Issues | Change Log | Roadmap | All Projects Issue Support Ranking | Rules | My Account |
View Revisions: Issue #3810 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0003810: Some integer literals are cast to bool | ||
Revision | 2020-06-07 04:25 by WubTheCaptain | ||
Description | Some code in Doomseeker uses integer values like 0 or 1 to indicate false / true, instead of those keywords. Not ideal (for readability). Guesstimate some of them were an int type before (like in C89), then converted from int to bool without changing the value itself. An example: Quote from src/core/modreader.h should be written as: Quote from src/core/modreader.h |
||
Revision | 2020-06-07 04:20 by WubTheCaptain | ||
Description | Some code in Doomseeker uses integer values like 0 or 1 to indicate false / true, instead of those keywords. Not ideal (for readability). Guesstimate some of them were an int type before (like in C89), then converted from int to bool without changing the value itself. |
Copyright © 2000 - 2025 MantisBT Team |