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