summaryrefslogtreecommitdiff
path: root/randr
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-02-23 11:17:20 -0800
committerKeith Packard <keithp@keithp.com>2011-02-23 11:17:20 -0800
commit4d91e7a63161cdde9af53aedb3fe3e53dbe3049e (patch)
tree29f082a8252c42b62ae8b38e3155eb8d891ccaae /randr
parent00d0b235cfbfb162ddd58c088d2ed03e55a9c5cb (diff)
Revert "ProcRRSetCrtcConfigs uses 'configs' without being initialized"
Diffstat (limited to 'randr')
-rw-r--r--randr/rrcrtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c
index 0fc818887..97aa3d7fa 100644
--- a/randr/rrcrtc.c
+++ b/randr/rrcrtc.c
@@ -1682,9 +1682,9 @@ ProcRRSetCrtcConfigs (ClientPtr client)
rrScrPrivPtr scr_priv;
xRRCrtcConfig *x_configs;
RRScreenConfigRec screen_config;
- RRCrtcConfigPtr configs = NULL;
+ RRCrtcConfigPtr configs;
RROutput *output_ids;
- int num_configs = 0;
+ int num_configs;
int rc, i;
int extra_len;
int num_output_ids;