diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2007-03-27 14:49:30 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2007-03-27 14:49:30 -0700 |
commit | ad4abba20b8a6db7b52898bc7159809539cbed43 (patch) | |
tree | 11638de295d99f7282b5247f0aae91ea77b1f67c /src/g80_output.c | |
parent | 7e0e5c1fb38922add99db33f282baf2ee1531685 (diff) |
Fix warnings.
Diffstat (limited to 'src/g80_output.c')
-rw-r--r-- | src/g80_output.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/g80_output.c b/src/g80_output.c index 481dd85..b56bf00 100644 --- a/src/g80_output.c +++ b/src/g80_output.c @@ -236,7 +236,7 @@ G80CreateOutputs(ScrnInfoPtr pScrn) { G80Ptr pNv = G80PTR(pScrn); xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn); - int i, count = 0; + int i; if(!G80ReadPortMapping(pScrn->scrnIndex, pNv)) return FALSE; @@ -252,7 +252,6 @@ G80CreateOutputs(ScrnInfoPtr pScrn) /* For each output, set the crtc and clone masks */ for(i = 0; i < xf86_config->num_output; i++) { xf86OutputPtr output = xf86_config->output[i]; - G80OutputPrivPtr pPriv = output->driver_private; /* Any output can connect to any head */ output->possible_crtcs = 0x3; |