aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2024-02-17 23:38:30 -0800
committerPaul Eggert2024-02-18 00:38:15 -0800
commit42c6cf4e5804312defa9d9caac8882500bd38179 (patch)
tree958efa79f1d8391ea44a3601cf71a590a6b943dc /src
parentf8d27a8a1fd5bdc8e25569cc05a9298e186a8c63 (diff)
downloademacs-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.c5
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;