From 31e230ad426af4cffb689fbe528efb827f9181b5 Mon Sep 17 00:00:00 2001 From: Ben Smithurst Date: Wed, 21 Feb 2001 20:43:55 +0000 Subject: [PATCH] Expand if ((foo = bar()) != 0) to foo = bar(); if (foo != 0) Submitted by: phk --- share/man/man9/style.9 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index 3001cf674556..ba0cd83ca62e 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -348,7 +348,8 @@ or .Sq \&) characters. .Bd -literal - if ((error = function(a1, a2)) != 0) + error = function(a1, a2); + if (error != 0) exit(error); .Ed .Pp