diff options
author | Cyril Brulebois <kibi@debian.org> | 2011-03-01 17:09:10 -0800 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2011-03-01 18:14:16 -0800 |
commit | 2b17d1ac579ee426f631f4c62c9f0cf617a06e51 (patch) | |
tree | 824acfc9a6a03ae4f9b21e8b2beb418bcc93f963 /src/g80_display.c | |
parent | 95108089e22d33723488baba22467f2f3c4f1bf6 (diff) |
Fix compiler warning.
Get rid of this with CFLAGS="-Wall -Werror":
| CC g80_display.lo
| cc1: warnings being treated as errors
| g80_display.c: In function ‘G80CrtcSetPClk’:
| g80_display.c:216: error: unused variable ‘i’
Signed-off-by: Cyril Brulebois <kibi@debian.org>
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Tested-by: Aaron Plattner <aplattner@nvidia.com>
Diffstat (limited to 'src/g80_display.c')
-rw-r--r-- | src/g80_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/g80_display.c b/src/g80_display.c index ae946a8..84e731c 100644 --- a/src/g80_display.c +++ b/src/g80_display.c @@ -213,7 +213,7 @@ G80CrtcSetPClk(xf86CrtcPtr crtc) if(pNv->architecture <= 0xa0 || pNv->architecture == 0xaa || pNv->architecture == 0xac) { - int lo_n, lo_m, hi_n, hi_m, p, i; + int lo_n, lo_m, hi_n, hi_m, p; CARD32 lo = pNv->reg[(0x00614104+headOff)/4]; CARD32 hi = pNv->reg[(0x00614108+headOff)/4]; |