diff options
author | Eric Anholt <eric@anholt.net> | 2006-08-09 15:47:09 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2006-08-09 15:47:09 -0700 |
commit | 2a7426cf138e518a5eafb40f478359160a7ec98b (patch) | |
tree | 92330d72b0525a28422e03f1d83bcc48963c3c7d /src/i830_video.c | |
parent | 24e59a0daa20b7c3e5028c9ca7972052801d02a1 (diff) |
Clean up warnings.
Diffstat (limited to 'src/i830_video.c')
-rw-r--r-- | src/i830_video.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/i830_video.c b/src/i830_video.c index 9a66f7fc..693c703f 100644 --- a/src/i830_video.c +++ b/src/i830_video.c @@ -2191,6 +2191,7 @@ static CARD32 float_to_uint (float f) { return x.i; } +#if 0 static struct { CARD32 svg_ctl; char *name; @@ -2219,6 +2220,7 @@ brw_debug (ScrnInfoPtr pScrn, char *when) ErrorF("\t%34.34s: 0x%08x\n", svg_ctl_bits[i].name, v); } } +#endif #define WATCH_SF 0 #define WATCH_WIZ 0 @@ -2234,10 +2236,8 @@ BroadwaterDisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id, DrawablePtr pDraw) { I830Ptr pI830 = I830PTR(pScrn); - CARD32 format, ms3, s2; BoxPtr pbox; int nbox, dxo, dyo; - Bool planar; int urb_vs_start, urb_vs_size; int urb_gs_start, urb_gs_size; int urb_clip_start, urb_clip_size; @@ -2811,9 +2811,6 @@ BroadwaterDisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id, OUT_RING(0); /* index buffer offset, ignored */ ADVANCE_LP_RING(); - int j, k; - CARD32 ctl = 0, rdata; - #if 0 for (j = 0; j < 100000; j++) { ctl = INREG(BRW_VF_CTL); |