summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2007-12-06 11:35:37 +1000
committerDave Airlie <airlied@redhat.com>2007-12-06 11:35:37 +1000
commit1ba2bb3a7e77576333b09f296abac4c01c895c48 (patch)
tree393aec50f374ffe17b3724c5c5ee06251cf85d78 /linux-core/drm_crtc.c
parent67f6eb1eb8d3dc5bb5fdb097655d3da326f637c1 (diff)
oops initialise variable to false
Diffstat (limited to 'linux-core/drm_crtc.c')
-rw-r--r--linux-core/drm_crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_crtc.c b/linux-core/drm_crtc.c
index 70844237..fba275b7 100644
--- a/linux-core/drm_crtc.c
+++ b/linux-core/drm_crtc.c
@@ -1005,7 +1005,7 @@ int drm_crtc_set_config(struct drm_crtc *crtc, struct drm_mode_crtc *crtc_info,
struct drm_device *dev = crtc->dev;
struct drm_crtc **save_crtcs, *new_crtc;
bool save_enabled = crtc->enabled;
- bool changed;
+ bool changed = false;
struct drm_output *output;
int count = 0, ro;