diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-02-02 15:52:59 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-02-02 15:53:19 -0800 |
commit | 53c16c75a57aa486dfc1f46ef5aa538264e6ad47 (patch) | |
tree | a9bb11e8dce9de77a70087b3c8a31acaec25a528 | |
parent | df915775bc4ead095aa37d2b098de748e1821027 (diff) | |
download | emacs-53c16c75a57aa486dfc1f46ef5aa538264e6ad47.tar.gz |
Pacify Oracle Studio 12.5
* src/emacs.c (main): Do not silently convert char * to bool.
-rw-r--r-- | src/emacs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emacs.c b/src/emacs.c index 28b395c4fb4..3083d0df302 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -688,7 +688,7 @@ main (int argc, char **argv) dumping = !initialized && (strcmp (argv[argc - 1], "dump") == 0 || strcmp (argv[argc - 1], "bootstrap") == 0 ); - generating_ldefs_boot = getenv ("GENERATE_LDEFS_BOOT"); + generating_ldefs_boot = !!getenv ("GENERATE_LDEFS_BOOT"); /* True if address randomization interferes with memory allocation. */ |