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:
@@ -348,7 +348,7 @@ or
|
|||||||
.Sq \&)
|
.Sq \&)
|
||||||
characters.
|
characters.
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
if (error = function(a1, a2))
|
if ((error = function(a1, a2)) != 0)
|
||||||
exit(error);
|
exit(error);
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
|
|||||||
Reference in New Issue
Block a user