aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Henoch <[email protected]>2015-11-11 17:16:30 +0000
committerMagnus Henoch <[email protected]>2015-11-11 17:16:30 +0000
commit4d41edb71e4e7dd07e906d916d11c8508b88f041 (patch)
tree0a213c5841ea78820e31c2719cbdd9a274cc9a5d
parent7eb292fd6849e43dad0b738027d90ca4944d14e2 (diff)
downloadotp-4d41edb71e4e7dd07e906d916d11c8508b88f041.tar.gz
otp-4d41edb71e4e7dd07e906d916d11c8508b88f041.tar.bz2
otp-4d41edb71e4e7dd07e906d916d11c8508b88f041.zip
Remove obsolete comment in heart.c
The "if" referred to in the comment was removed in commit 70c9312c4b.
-rw-r--r--erts/etc/common/heart.c2
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);
}