From 343ac5e7a2218e5a2a7f188ac5b9b20dbcb0a636 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 15 Feb 2018 16:08:16 -0800 Subject: [PATCH] Pacify -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 0d7c6ed9b39..7ed4f2758e2 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.39.5