From 33d5434aafd847629fc6c70db15d716c77402708 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku <kaz@kylheku.com> Date: Tue, 4 Aug 2015 19:47:48 -0700 Subject: 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. --- ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 3af841ec..b013dfe8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +2015-08-04 Kaz Kylheku <kaz@kylheku.com> + + 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. + 2015-08-04 Kaz Kylheku <kaz@kylheku.com> * eval.c (func_get_name): New function. -- cgit v1.2.3