[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: [PATCH] w3m-filter: correct return value, remove extra code



In [emacs-w3m : No.12675]
On Mon, 12 Jun 2017 10:06:09 +0900, Katsumi Yamaoka wrote:
> In [emacs-w3m : No.12674]
> On Sun, 11 Jun 2017 17:07:10 -0400, Boruch Baum wrote:
>> I noticed `w3m-filter-delete-regions' wasn't always returning a
>> correct return value. The attached patch should fix that. While I was
>> at it, it seemed that `w3m-filter-replace-regexp' had some unnecessary
>> code.
>> For your review and approval,

> Committed slightly modified ones.  Thanks.

Well, is there a way to get rid of those compiler warnings against
`w3m-filter-delete-regions' and `w3m-filter-replace-regexp'
exclusively?

Compiling w3m-filter.el...

In w3m-filter-rt:
w3m-filter.el:803:23:Warning: value returned from (> i 0) is unused

In w3m-filter-slashdot:
w3m-filter.el:808:29:Warning: value returned from (> i 0) is unused
w3m-filter.el:808:29:Warning: value returned from (> i 0) is unused
w3m-filter.el:808:29:Warning: value returned from (> i 0) is unused
w3m-filter.el:808:29:Warning: value returned from (> i 0) is unused
w3m-filter.el:808:29:Warning: value returned from (> i 0) is unused
w3m-filter.el:808:29:Warning: value returned from (> i 0) is unused
w3m-filter.el:808:29:Warning: value returned from (> i 0) is unused
Wrote w3m-filter.elc