mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-20 15:43:16 +00:00
Don't suggest
if (error = function(a1, a2)) since it causes a warning with -Wall. Change it so it has an explicit test against zero, if ((error = function(a1, a2)) != 0)
This commit is contained in:
parent
688292859a
commit
06c8ab0c3c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72799
@ -348,7 +348,7 @@ or
|
||||
.Sq \&)
|
||||
characters.
|
||||
.Bd -literal
|
||||
if (error = function(a1, a2))
|
||||
if ((error = function(a1, a2)) != 0)
|
||||
exit(error);
|
||||
.Ed
|
||||
.Pp
|
||||
|
Loading…
Reference in New Issue
Block a user