diff options
author | Keith Packard <keithp@keithp.com> | 2011-02-23 11:17:20 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-02-23 11:17:20 -0800 |
commit | 4d91e7a63161cdde9af53aedb3fe3e53dbe3049e (patch) | |
tree | 29f082a8252c42b62ae8b38e3155eb8d891ccaae /randr | |
parent | 00d0b235cfbfb162ddd58c088d2ed03e55a9c5cb (diff) |
Revert "ProcRRSetCrtcConfigs uses 'configs' without being initialized"
This reverts commit b0f4bd61f0caf80f3be9a176f1f7a707bc6628d8.
Diffstat (limited to 'randr')
-rw-r--r-- | randr/rrcrtc.c | 4 |
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; |