diff options
author | Zandra <[email protected]> | 2015-11-17 13:10:39 +0100 |
---|---|---|
committer | Zandra <[email protected]> | 2015-11-17 13:10:39 +0100 |
commit | 2e83a9026bb7d6688d878fa8d17d47253e40482f (patch) | |
tree | 300f83e38b9fb1d420cc3dff4502279268832805 /erts | |
parent | d42741c7ec0cfe8287a2866a5e837d4da26a97ca (diff) | |
parent | 4d41edb71e4e7dd07e906d916d11c8508b88f041 (diff) | |
download | otp-2e83a9026bb7d6688d878fa8d17d47253e40482f.tar.gz otp-2e83a9026bb7d6688d878fa8d17d47253e40482f.tar.bz2 otp-2e83a9026bb7d6688d878fa8d17d47253e40482f.zip |
Merge branch 'legoscia/heart-remove-obsolete-comment' into maint
* legoscia/heart-remove-obsolete-comment:
Remove obsolete comment in heart.c
Diffstat (limited to 'erts')
-rw-r--r-- | erts/etc/common/heart.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/erts/etc/common/heart.c b/erts/etc/common/heart.c index 01ef840b5d..9571b83ffd 100644 --- a/erts/etc/common/heart.c +++ b/erts/etc/common/heart.c @@ -718,14 +718,12 @@ do_terminate(int erlin_fd, int reason) { print_error("Would reboot. Terminating."); else { kill_old_erlang(); - /* suppress gcc warning with 'if' */ ret = system(command); print_error("Executed \"%s\" -> %d. Terminating.",command, ret); } free_env_val(command); } else { kill_old_erlang(); - /* suppress gcc warning with 'if' */ ret = system((char*)&cmd[0]); print_error("Executed \"%s\" -> %d. Terminating.",cmd, ret); } |