>From 80c596f9a992c9424a5a15716a6639f5efedbed5 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 15 Feb 2018 14:34:49 -0800 Subject: [PATCH] * src/emacs.c (load_dump): Pacify GCC -Wjump-misses-init. --- src/emacs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emacs.c b/src/emacs.c index 0d7c6ed9b3..7ed4f2758e 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -748,6 +748,7 @@ load_dump (int *inout_argc, /* Look for an explicitly-specified dump file. */ + const char *path_exec = PATH_EXEC; char *dump_file = find_and_remove_dump_file_argument (&argc, &argv); if (initialized && dump_file) /* TODO: maybe more thoroughly scrub process environment in order @@ -797,7 +798,6 @@ load_dump (int *inout_argc, FIXME: this doesn't work with emacs-XX.YY.ZZ.pdmp versioned files. */ argv0_base = "emacs"; - const char *path_exec = PATH_EXEC; #ifdef WINDOWSNT /* On MS-Windows, PATH_EXEC normally starts with a literal "%emacs_dir%", so it will never work without some tweaking. */ -- 2.14.3