mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 18:32:49 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue