From 0078ccadfe530933fe602723c055383456a2d037 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Thu, 6 Mar 2008 17:33:52 -0300 Subject: [PATCH] Compile warning fix. GenericPCIchipsets is not used if compiled with XSERVER_LIBPCIACCESS defined. --- src/generic.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/generic.c b/src/generic.c index 684552b..05dafee 100644 --- a/src/generic.c +++ b/src/generic.c @@ -286,11 +286,13 @@ static SymTabRec GenericChipsets[] = {-1, NULL} }; +#ifndef XSERVER_LIBPCIACCESS static PciChipsets GenericPCIchipsets[] = { {CHIP_VGA_GENERIC, PCI_CHIP_VGA, RES_SHARED_VGA}, {-1, -1, RES_UNDEFINED}, }; +#endif static IsaChipsets GenericISAchipsets[] = { -- 1.5.4.3