Mercurial > hg > octave-lyh
changeset 17401:6437a6815bc6
edit.m: Use '~' to discard unused return value from system().
* scripts/miscellaneous/edit.m: Use '~' to discard unused return value from
system().
author | Rik <rik@octave.org> |
---|---|
date | Sun, 08 Sep 2013 21:08:37 -0700 |
parents | e09cd91168d1 |
children | b6867a09d7cf |
files | scripts/miscellaneous/edit.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/miscellaneous/edit.m +++ b/scripts/miscellaneous/edit.m @@ -375,7 +375,7 @@ host = getenv ("COMPUTERNAME"); endif if (isempty (host)) - [status, host] = system ("uname -n"); + [~, host] = system ("uname -n"); ## trim newline from end of hostname if (! isempty (host)) host = host(1:end-1);