#3964: mutt-1.9.0/curs_lib.c:668]: (style) Suspicious condition
----------------------+----------------------
  Reporter:  dcb314   |      Owner:  mutt-dev
      Type:  defect   |     Status:  new
  Priority:  minor    |  Milestone:
 Component:  display  |    Version:  1.9.0
Resolution:           |   Keywords:
----------------------+----------------------

Comment (by kevin8t8):

 Actually, I did goof up the parenthesis, and intended the summary's
 proposed fix.  Both move() and vw_printw() return ERR on error, and rv was
 supposed to return that value if one of them failed.

 It's true that Mutt doesn't check the return values, but it also currently
 doesn't do so for the other ncurses drawing/movement routines.  I'd rather
 keep the return value for now, at the least for consistency in the api.

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3964#comment:3>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to