diff options
author | ben <ben@FreeBSD.org> | 2001-02-21 12:10:19 +0000 |
---|---|---|
committer | ben <ben@FreeBSD.org> | 2001-02-21 12:10:19 +0000 |
commit | 855f3f1d18493414d808b23608cdabb74da2aacd (patch) | |
tree | 2ffbaadef767cf18ccb6a5dcb76b9a53fa98eb7c /share | |
parent | fb40cd6e4334a05b1acc5e9d139c07d00e37e91f (diff) | |
download | FreeBSD-src-855f3f1d18493414d808b23608cdabb74da2aacd.zip FreeBSD-src-855f3f1d18493414d808b23608cdabb74da2aacd.tar.gz |
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)
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/style.9 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index b5f1762..3001cf6 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -348,7 +348,7 @@ or .Sq \&) characters. .Bd -literal - if (error = function(a1, a2)) + if ((error = function(a1, a2)) != 0) exit(error); .Ed .Pp |