diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-08-04 19:47:48 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-08-04 19:47:48 -0700 |
commit | 33d5434aafd847629fc6c70db15d716c77402708 (patch) | |
tree | 107806c760fd1d825a0bb6e8e80d74a69cea682b /txr.1 | |
parent | bfd0947112a317542d77959f0ae224f8e256f9a6 (diff) | |
download | txr-33d5434aafd847629fc6c70db15d716c77402708.tar.gz txr-33d5434aafd847629fc6c70db15d716c77402708.tar.bz2 txr-33d5434aafd847629fc6c70db15d716c77402708.zip |
Remove useless return values and checks.
* stream.c (vformat_align_pre, vformat_align_post): Change to void
return. Do not check return value of put_char.
(vformat_num, vformat_str): Change to void return. Do not check return
value of vformat_align_pre, vformat_aign_post or put_char.
(vformat): Do not check return value of vformat_str or vformat_num.
nilout exit point no longer needed.
(put_string): Do not intercept return value of ops->put_string.
Return t.
(put_char): Do not intercept return value of ops->put_char.
Do not check return value of put_indent. Return t.
* txr.1: Document t return of put-char, put-byte and put-string.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -27671,6 +27671,11 @@ if supports a byte write operation. The byte value is specified as an integer value in the range 0 to 255. +All these runctions return +.codn t . +On failure, they do not return, but throw exceptions of type +.codn file-error . + .coNP Functions @ put-strings and @ put-lines .synb .mets (put-strings < sequence <> [ stream ]]) |