From f0202039df53b3f7038d1625ff6ffae7b09a8fb0 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Sun, 7 Apr 2019 11:15:10 +0300 Subject: 13151 loader: isoboot.c: info: ignoring unreachable code. Reviewed by: C Fraire Approved by: Dan McDonald --- usr/src/boot/sys/boot/i386/isoboot/isoboot.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'usr/src') diff --git a/usr/src/boot/sys/boot/i386/isoboot/isoboot.c b/usr/src/boot/sys/boot/i386/isoboot/isoboot.c index e5550f3b2f..8e25fd55de 100644 --- a/usr/src/boot/sys/boot/i386/isoboot/isoboot.c +++ b/usr/src/boot/sys/boot/i386/isoboot/isoboot.c @@ -331,12 +331,10 @@ main(void) /* Needed so btxld can link us properly; do not remove. */ void -exit(int x __unused) +exit(int x) { - while (1) - ; - __unreachable(); + __exit(x); } static void -- cgit v1.2.3