nuttx-apps/games/NXDoom/src
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
..
doom games/NXDoom: drop the assignments left over from dehacked 2026-08-04 12:48:54 +08:00
.gitignore apps/games/NXDoom: Original Chocolate DOOM source 2026-06-30 15:22:55 -03:00
aes_prng.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
aes_prng.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
config.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
d_dedicated.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
d_event.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
d_event.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
d_iwad.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
d_iwad.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
d_loop.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
d_loop.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
d_mode.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
d_mode.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
d_ticcmd.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
deh_defs.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
deh_io.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
deh_io.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
deh_main.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
deh_main.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
deh_mapping.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
deh_mapping.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
deh_str.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
deh_str.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
deh_text.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
doomkeys.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
doomtype.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
gusconf.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
gusconf.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
i_endoom.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
i_endoom.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
i_glob.c games/NXDoom: Use dirent for glob implementation 2026-07-09 01:51:54 +02:00
i_glob.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
i_input.c games/NXDoom: handle the special key events 2026-08-02 18:36:37 +08:00
i_input.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
i_joystick.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
i_joystick.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
i_main.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
i_musicpack.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
i_pcsound.c games/NXDoom: Fix warnings in i_pcsound module 2026-07-27 13:24:25 -03:00
i_rtttl_music.c apps/games/NXDoom: Add support for RTTTL DOOM theme 2026-07-27 13:24:25 -03:00
i_sdlmusic.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
i_sound.c apps/games/NXDoom: Add support for RTTTL DOOM theme 2026-07-27 13:24:25 -03:00
i_sound.h apps/games/NXDoom: Add support for RTTTL DOOM theme 2026-07-27 13:24:25 -03:00
i_swap.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
i_system.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
i_system.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
i_timer.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
i_timer.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
i_video.c games/NXDoom: handle the special key events 2026-08-02 18:36:37 +08:00
i_video.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
m_argv.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
m_argv.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
m_bbox.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
m_bbox.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
m_cheat.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
m_cheat.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
m_config.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
m_config.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
m_controls.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
m_controls.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
m_fixed.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
m_fixed.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
m_misc.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
m_misc.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
manifest.xml apps/games/NXDoom: Original Chocolate DOOM source 2026-06-30 15:22:55 -03:00
memio.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
memio.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
midifile.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
midifile.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
mus2mid.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
mus2mid.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_client.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_client.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_common.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_common.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_dedicated.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_dedicated.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_defs.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_gui.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_gui.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_io.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_io.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_loop.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_loop.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_packet.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_packet.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_query.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_query.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_sdl.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_sdl.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_server.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_server.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_structrw.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
net_structrw.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
p_rejectpad.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
p_rejectpad.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
sha1.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
tables.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
tables.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
v_diskicon.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
v_diskicon.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
v_patch.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
v_video.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
v_video.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
w_checksum.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
w_checksum.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
w_file.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
w_file.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
w_file_stdc.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
w_main.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
w_main.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
w_merge.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
w_merge.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
w_wad.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
w_wad.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
z_native.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
z_zone.c games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00
z_zone.h games/NXDoom: Initial port of Chocolate DOOM to NuttX. 2026-06-30 15:22:55 -03:00