nuttx-apps/games
Jorge Guzman 5a73a6f124 games/NXDoom: drop the assignments left over from dehacked
Six statements assign a variable to itself, which clang rejects:

  src/doom/f_finale.c:637:16: error: explicitly assigning value of
  variable of type 'const char *' to itself [-Werror,-Wself-assign]
    637 |       lumpname = (lumpname);

Chocolate DOOM wraps those strings in DEH_String() so that a dehacked
patch can substitute them. The port has no dehacked support, and the
macro went away with it, leaving the parentheses behind. Two comments
that only described the substitution go as well.

Nothing changes at run time. GCC does not warn about this, so the
configurations built so far never noticed; the ones built with clang
do, and they fail because the CI treats warnings as errors.

Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
2026-08-04 12:48:54 +08:00
..
brickmatch games/brickmatch: Add led matrix output option 2025-02-26 11:31:02 -03:00
cgol game: Aligned Cmake with Make 2025-11-14 22:40:17 +08:00
match4 games/match4: Add new match4 game 2025-07-12 08:38:32 -03:00
NXDoom games/NXDoom: drop the assignments left over from dehacked 2026-08-04 12:48:54 +08:00
snake games/snake: Change consolekey magic numbers with ASCII macros 2025-07-16 10:32:16 +08:00
.gitignore apps/games: Add shift game 2022-07-31 13:41:43 +03:00
CMakeLists.txt game: Aligned Cmake with Make 2025-11-14 22:40:17 +08:00
Make.defs games: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Makefile games: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00