diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-03-17 16:59:12 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-03-18 09:24:58 +0800 |
commit | d72e18c10995079121eded758a60ed99b5b8ce1a (patch) | |
tree | 1716125826cd2f6bc12dd342ad7e316ccc65c661 /src/i830_dri.c | |
parent | 81df48d8d151907c2e9dd33a729860c39aa78175 (diff) |
Compile warning fixes.
Move some declarations and don't declare an extra variable with the
same name, to fix warnings about mixed declarations and code.
Diffstat (limited to 'src/i830_dri.c')
-rw-r--r-- | src/i830_dri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_dri.c b/src/i830_dri.c index 5d2539e6..3493eb9c 100644 --- a/src/i830_dri.c +++ b/src/i830_dri.c @@ -747,12 +747,12 @@ static void I830InitTextureHeap(ScrnInfoPtr pScrn) { I830Ptr pI830 = I830PTR(pScrn); + drmI830MemInitHeap drmHeap; if (pI830->textures == NULL) return; /* Start up the simple memory manager for agp space */ - drmI830MemInitHeap drmHeap; drmHeap.region = I830_MEM_REGION_AGP; drmHeap.start = 0; drmHeap.size = pI830->textures->size; |