#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
Keywords: |
---------------------+----------------------
mutt-1.9.0/curs_lib.c:668]: (style) Suspicious condition (assignment +
comparison); Clarify expression with parentheses.
Source code is
if ((rv = mutt_window_move (win, row, col) != ERR))
Maybe better code
if ((rv = mutt_window_move (win, row, col)) != ERR)
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3964>
Mutt <http://www.mutt.org/>
The Mutt mail user agent