From 321c551969cc862a859c9e79c8404af90c94e81d Mon Sep 17 00:00:00 2001 From: imp Date: Sun, 25 Apr 1999 21:13:34 +0000 Subject: First set of fixes to keep egcs happy. These include {} around single statement if blocks[*] when the else could be ambiguous, not defaulting to int type and removal of some unused variables. [*] This is explicitly allowed by style(9) when the single statement spans more than one line. Reviewed by: obrien, chuckr --- bin/chio/chio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/chio') diff --git a/bin/chio/chio.c b/bin/chio/chio.c index bb5f749..180d568 100644 --- a/bin/chio/chio.c +++ b/bin/chio/chio.c @@ -656,7 +656,7 @@ do_status(char *cname, int argc, char **argv) printf(" avoltag: <%s:%d>", ces->ces_avoltag.cv_volid, ces->ces_avoltag.cv_serial); - if (source) + if (source) { if (ces->ces_flags & CES_SOURCE_VALID) printf(" source: <%s %d>", element_type_name( @@ -664,6 +664,7 @@ do_status(char *cname, int argc, char **argv) ces->ces_source_addr); else printf(" source: <>"); + } if (intaddr) printf(" intaddr: <%d>", ces->ces_int_addr); if (scsi) { -- cgit v1.1