Avoid unused variables if RASTERCONS_FULLSCREEN is defined. (see PR#13231)

This commit is contained in:
pk 2001-06-24 15:47:45 +00:00
parent 5061291694
commit fda9cb9936
1 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fb.c,v 1.2 2000/10/31 21:54:35 pk Exp $ */
/* $NetBSD: fb.c,v 1.3 2001/06/24 15:47:45 pk Exp $ */
/*
* Copyright (c) 1992, 1993
@ -357,7 +357,10 @@ fbrcons_init(fb)
{
struct rconsole *rc = &fb->fb_rcons;
struct rasops_info *ri = &fb->fb_rinfo;
int maxrow, maxcol, *row, *col;
int maxrow, maxcol;
#if !defined(RASTERCONS_FULLSCREEN)
int *row, *col;
#endif
/* Set up what rasops needs to know about */
bzero(ri, sizeof *ri);