diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2007-09-17 15:44:52 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2007-09-17 15:44:52 -0700 |
commit | e58504defab08492cc60c36d5dae4f5c4c8c1caa (patch) | |
tree | 110e122f7e6823d5d2b0190426b90eaabc1fec74 /src/g80_display.c | |
parent | 5b56964a29b326d28bcf3a51e98443d426df58bd (diff) |
Fix uninitialized variable warning.
Diffstat (limited to 'src/g80_display.c')
-rw-r--r-- | src/g80_display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/g80_display.c b/src/g80_display.c index 542a68e..6c95773 100644 --- a/src/g80_display.c +++ b/src/g80_display.c @@ -514,6 +514,7 @@ void G80CrtcSetScale(xf86CrtcPtr crtc, DisplayModePtr mode, int outX, outY; switch(scale) { + default: case G80_SCALE_ASPECT: ComputeAspectScale(mode, &outX, &outY); break; |