From 0f4276fe38b134fd0edf9bfb3d850cc0681a86b5 Mon Sep 17 00:00:00 2001 From: ben Date: Sat, 15 Sep 2007 16:42:50 +0000 Subject: ifdef one variable that is not used with alpha and powerpc architectures git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24530 b3059339-0415-0410-9bf9-f77b7e298cf2 --- vidix/pci.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'vidix') diff --git a/vidix/pci.c b/vidix/pci.c index 5f1e0343c3..2b85b86a71 100644 --- a/vidix/pci.c +++ b/vidix/pci.c @@ -521,7 +521,10 @@ int pci_scan(pciinfo_t *pci_list,unsigned *num_pci) { unsigned int idx = 0; struct pci_config_reg pcr; - int do_mode1_scan = 0, do_mode2_scan = 0; + int do_mode1_scan = 0; +#if !defined(__alpha__) && !defined(__powerpc__) + int do_mode2_scan = 0; +#endif int func, hostbridges=0; int ret = -1; -- cgit v1.2.3