]> Savannah Git Hosting - gnulib.git/commit
error: Avoid -Wint-in-bool-context warning.
authorBruno Haible <bruno@clisp.org>
Sun, 28 May 2023 13:18:06 +0000 (15:18 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 28 May 2023 13:18:06 +0000 (15:18 +0200)
commit4f7dce3fc20179ed6c24b7d84b82a99b6f410fef
tree577b8d88f32cb90f3a308de84ef122e11d55efb2
parent752f97e9afb770ea3cb6017d0b8e52600b045d6a
error: Avoid -Wint-in-bool-context warning.

Reported by Pádraig Brady in
<https://lists.gnu.org/archive/html/bug-gnulib/2023-05/msg00178.html>.

* lib/error.in.h (error, error_at_line): Use 'status != 0', since status
is expected to be an int, not a bool value.
ChangeLog
lib/error.in.h