summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2007-09-17 15:44:52 -0700
committerAaron Plattner <aplattner@nvidia.com>2007-09-17 15:44:52 -0700
commite58504defab08492cc60c36d5dae4f5c4c8c1caa (patch)
tree110e122f7e6823d5d2b0190426b90eaabc1fec74 /src
parent5b56964a29b326d28bcf3a51e98443d426df58bd (diff)
Fix uninitialized variable warning.
Diffstat (limited to 'src')
-rw-r--r--src/g80_display.c1
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;