summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-02-09 17:43:24 -0500
committerAlex Deucher <alexdeucher@gmail.com>2009-02-09 17:43:24 -0500
commitff6efe513e0c3148812d6a9578d2265522417053 (patch)
treef14f8bfa10ec6a59b56a2dfde4721b5fd23e59b2
parent87ad9006f3dafb45e131c9a3d6df713321f39998 (diff)
ATOM: warning fixes
-rw-r--r--src/atombios_output.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/atombios_output.c b/src/atombios_output.c
index 653d2074..fa986c47 100644
--- a/src/atombios_output.c
+++ b/src/atombios_output.c
@@ -70,7 +70,7 @@ atombios_output_dac_setup(xf86OutputPtr output, DisplayModePtr mode)
DAC_ENCODER_CONTROL_PS_ALLOCATION disp_data;
AtomBiosArgRec data;
unsigned char *space;
- int index, num = 0;
+ int index = 0, num = 0;
if (radeon_encoder == NULL)
return ATOM_NOT_IMPLEMENTED;
@@ -264,7 +264,7 @@ atombios_output_digital_setup(xf86OutputPtr output, DisplayModePtr mode)
LVDS_ENCODER_CONTROL_PS_ALLOCATION_V2 disp_data2;
AtomBiosArgRec data;
unsigned char *space;
- int index;
+ int index = 0;
int major, minor;
int lvds_misc = 0;
@@ -458,7 +458,7 @@ atombios_output_dig_encoder_setup(xf86OutputPtr output, DisplayModePtr mode)
DIG_ENCODER_CONTROL_PS_ALLOCATION disp_data;
AtomBiosArgRec data;
unsigned char *space;
- int index, major, minor, num = 0;
+ int index = 0, major, minor, num = 0;
if (radeon_encoder == NULL)
return ATOM_NOT_IMPLEMENTED;
@@ -562,7 +562,7 @@ atombios_output_dig_transmitter_setup(xf86OutputPtr output, DisplayModePtr mode)
union dig_transmitter_control disp_data;
AtomBiosArgRec data;
unsigned char *space;
- int index, num = 0;
+ int index = 0, num = 0;
int major, minor;
if (radeon_encoder == NULL)