From b67cb27739631e0a6a1ce0abe335848c1c923dc3 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 6 Mar 2001 03:07:58 +0000 Subject: [PATCH] #if 0 out a variable only used in #if 0'd code to quiet a warning. --- sys/dev/fb/splash_bmp.c | 4 ++++ sys/modules/splash/bmp/splash_bmp.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/sys/dev/fb/splash_bmp.c b/sys/dev/fb/splash_bmp.c index 5f1d2b29d167..95fc4210be68 100644 --- a/sys/dev/fb/splash_bmp.c +++ b/sys/dev/fb/splash_bmp.c @@ -587,7 +587,11 @@ static int bmp_Draw(video_adapter_t *adp) { int line; +#if 0 +#ifndef PC98 int i; +#endif +#endif if (bmp_info.data == NULL) { /* init failed, do nothing */ return(1); diff --git a/sys/modules/splash/bmp/splash_bmp.c b/sys/modules/splash/bmp/splash_bmp.c index 5f1d2b29d167..95fc4210be68 100644 --- a/sys/modules/splash/bmp/splash_bmp.c +++ b/sys/modules/splash/bmp/splash_bmp.c @@ -587,7 +587,11 @@ static int bmp_Draw(video_adapter_t *adp) { int line; +#if 0 +#ifndef PC98 int i; +#endif +#endif if (bmp_info.data == NULL) { /* init failed, do nothing */ return(1);