From 28237bde17c555d712bc6f28e8bd501ec578cfb0 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Wed, 12 Mar 2008 17:44:07 -0300 Subject: [PATCH] Compiler warning fixes also rename macros in smi_pcirename.h to a more consistent name. --- src/smi_pcirename.h | 6 +++--- src/smi_video.c | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/smi_pcirename.h b/src/smi_pcirename.h index 9321046..64f52f3 100644 --- a/src/smi_pcirename.h +++ b/src/smi_pcirename.h @@ -26,8 +26,8 @@ * library. The main purpose being to facilitate source code compatibility. */ -#ifndef S3PCIRENAME_H -#define S3PCIRENAME_H +#ifndef SMIPCIRENAME_H +#define SMIPCIRENAME_H enum region_type { REGION_MEM, @@ -119,4 +119,4 @@ typedef struct pci_device *pciVideoPtr; #endif /* XSERVER_LIBPCIACCESS */ -#endif /* CIRPCIRENAME_H */ +#endif /* SMIPCIRENAME_H */ diff --git a/src/smi_video.c b/src/smi_video.c index 8ea1114..e3396cb 100644 --- a/src/smi_video.c +++ b/src/smi_video.c @@ -1764,7 +1764,6 @@ SMI_ClipVideo( INT32 height ) { - ScreenPtr pScreen = pScrn->pScreen; INT32 vscale, hscale; BoxPtr extents = REGION_EXTENTS(pScreen, reg); int diff; -- 1.5.4.3