Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3a0c7b1e
Commit
3a0c7b1e
authored
Jan 23, 2019
by
Stefan Monnier
Browse files
* src/emacs.c (load_pdump): Minor simplification.
parent
43cf9b96
Pipeline
#600
failed with stage
in 60 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
src/emacs.c
src/emacs.c
+8
-7
No files found.
src/emacs.c
View file @
3a0c7b1e
...
@@ -732,14 +732,15 @@ load_pdump (int argc, char **argv)
...
@@ -732,14 +732,15 @@ load_pdump (int argc, char **argv)
result
=
PDUMPER_NOT_LOADED
;
result
=
PDUMPER_NOT_LOADED
;
if
(
dump_file
)
if
(
dump_file
)
result
=
pdumper_load
(
dump_file
);
{
result
=
pdumper_load
(
dump_file
);
if
(
dump_file
&&
result
!=
PDUMPER_LOAD_SUCCESS
)
fatal
(
"could not load dump file
\"
%s
\"
: %s"
,
dump_file
,
dump_error_to_string
(
result
));
if
(
result
==
PDUMPER_LOAD_SUCCESS
)
if
(
result
!=
PDUMPER_LOAD_SUCCESS
)
goto
out
;
fatal
(
"could not load dump file
\"
%s
\"
: %s"
,
dump_file
,
dump_error_to_string
(
result
));
else
goto
out
;
}
/* Look for a dump file in the same directory as the executable; it
/* Look for a dump file in the same directory as the executable; it
should have the same basename. */
should have the same basename. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment