]> git.eshelyaron.com Git - emacs.git/commit
Prefer static switch-case checking in pdumper
authorStefan Kangas <stefankangas@gmail.com>
Sun, 26 Jan 2025 19:04:07 +0000 (20:04 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 30 Jan 2025 18:02:36 +0000 (19:02 +0100)
commit21c18967572fe9e9e2cf0a28e882b6beeb018f92
tree70ce650c04eedfb32504ee4f2be67a94f51f9e18
parenta44cd7f8ea108f003f0bbc6531661ac6f7e67876
Prefer static switch-case checking in pdumper

* src/pdumper.c (dump_fwd, dump_symbol, dump_drain_cold_data)
(dump_do_fixup, dump_anonymous_allocate_w32)
(dump_anonymous_allocate_posix, dump_map_file_w32, dump_map_file_posix)
(dump_do_emacs_relocation): Remove default clauses to allow static
checking using -Wswitch.

(cherry picked from commit 6e2e7265a04f63f482db7fbdfd8e2519d8bfe03e)
src/pdumper.c