summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nv_hw.c2
-rw-r--r--src/nv_setup.c2
-rw-r--r--src/riva_hw.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/nv_hw.c b/src/nv_hw.c
index d7a0c19..a221d11 100644
--- a/src/nv_hw.c
+++ b/src/nv_hw.c
@@ -844,7 +844,7 @@ void NVCalcStateExt (
int flags
)
{
- int pixelDepth, VClk;
+ int pixelDepth, VClk = 0;
/*
* Save mode parameters.
*/
diff --git a/src/nv_setup.c b/src/nv_setup.c
index 4009fde..71d7955 100644
--- a/src/nv_setup.c
+++ b/src/nv_setup.c
@@ -174,7 +174,7 @@ NVIsConnected (ScrnInfoPtr pScrn, int output)
{
NVPtr pNv = NVPTR(pScrn);
volatile U032 *PRAMDAC = pNv->PRAMDAC0;
- CARD32 reg52C, reg608, dac0_reg608;
+ CARD32 reg52C, reg608, dac0_reg608 = 0;
Bool present;
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
diff --git a/src/riva_hw.c b/src/riva_hw.c
index 1b89264..15bef0e 100644
--- a/src/riva_hw.c
+++ b/src/riva_hw.c
@@ -659,7 +659,7 @@ static void CalcStateExt
int flags
)
{
- int pixelDepth, VClk, m, n, p;
+ int pixelDepth, VClk = 0, m = 0, n = 0, p = 0;
/*
* Save mode parameters.
*/