diff options
| author | Paul Eggert | 2024-02-17 23:38:30 -0800 |
|---|---|---|
| committer | Paul Eggert | 2024-02-18 00:38:15 -0800 |
| commit | 42c6cf4e5804312defa9d9caac8882500bd38179 (patch) | |
| tree | 958efa79f1d8391ea44a3601cf71a590a6b943dc /src | |
| parent | f8d27a8a1fd5bdc8e25569cc05a9298e186a8c63 (diff) | |
| download | emacs-42c6cf4e5804312defa9d9caac8882500bd38179.tar.gz emacs-42c6cf4e5804312defa9d9caac8882500bd38179.zip | |
Remove no-longer-needed pdumper_load workaround
* src/pdumper.c (pdumper_load): Revert my commit "Pacify GCC
12.1.1 in default developer build" dated 2022-06-13 13:21:18 -07,
as GCC bug 105961 is fixed, and this workaround is not needed for
unfixed GCC as these builds should not use --enable-gcc-warnings.
Diffstat (limited to 'src')
| -rw-r--r-- | src/pdumper.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pdumper.c b/src/pdumper.c index 5c488d8e90f..509fb079db7 100644 --- a/src/pdumper.c +++ b/src/pdumper.c | |||
| @@ -5593,10 +5593,7 @@ pdumper_load (const char *dump_filename, char *argv0) | |||
| 5593 | 5593 | ||
| 5594 | struct dump_header header_buf = { 0 }; | 5594 | struct dump_header header_buf = { 0 }; |
| 5595 | struct dump_header *header = &header_buf; | 5595 | struct dump_header *header = &header_buf; |
| 5596 | struct dump_memory_map sections[NUMBER_DUMP_SECTIONS]; | 5596 | struct dump_memory_map sections[NUMBER_DUMP_SECTIONS] = { 0 }; |
| 5597 | |||
| 5598 | /* Use memset instead of "= { 0 }" to work around GCC bug 105961. */ | ||
| 5599 | memset (sections, 0, sizeof sections); | ||
| 5600 | 5597 | ||
| 5601 | const struct timespec start_time = current_timespec (); | 5598 | const struct timespec start_time = current_timespec (); |
| 5602 | char *dump_filename_copy; | 5599 | char *dump_filename_copy; |