nuttx-apps/games/NXDoom
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
..
pcsound games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
src games/NXDoom: drop the assignments left over from dehacked 2026-08-04 12:48:54 +08:00
textscreen games/NXDoom: Fix build warnings 2026-07-02 09:08:46 -03:00
.gitignore games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
AUTHORS apps/games/NXDoom: Original Chocolate DOOM source 2026-06-30 15:22:55 -03:00
COPYING.md apps/games/NXDoom: Original Chocolate DOOM source 2026-06-30 15:22:55 -03:00
Kconfig games/NXDoom: draw in the pixel format of the frame buffer 2026-07-31 01:07:59 +08:00
Make.defs games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
Makefile apps/games/NXDoom: Add support for RTTTL DOOM theme 2026-07-27 13:24:25 -03:00