summaryrefslogtreecommitdiff
path: root/src/i830_video.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2007-06-21 20:16:36 +0100
committerKeith Packard <keithp@neko.keithp.com>2007-06-21 20:16:36 +0100
commitd6e46f67ab3af1ad3bfa72acb0efd9fe79dbf1dc (patch)
treefc57986dc6ab5eaa91c572ec065706ab35d4d1b5 /src/i830_video.c
parent9d104634cf03bea82d1467f01e577cb8d2e4b554 (diff)
Eliminate some uninitialized variable warnings
Diffstat (limited to 'src/i830_video.c')
-rw-r--r--src/i830_video.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i830_video.c b/src/i830_video.c
index 43e25bbb..b4f9e746 100644
--- a/src/i830_video.c
+++ b/src/i830_video.c
@@ -1702,6 +1702,10 @@ i830_covering_crtc (ScrnInfoPtr pScrn,
best_crtc = NULL;
best_coverage = 0;
+ crtc_box_ret->x1 = 0;
+ crtc_box_ret->x2 = 0;
+ crtc_box_ret->y1 = 0;
+ crtc_box_ret->y2 = 0;
for (c = 0; c < xf86_config->num_crtc; c++)
{
crtc = xf86_config->crtc[c];