diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-03-18 10:06:47 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2015-03-18 10:06:47 +0900 |
commit | f940fd741b15f03393037c5bb904cd74f012de9d (patch) | |
tree | 54f351e9c80edcb3fee5921965357363e9811582 /src | |
parent | 4a98f60117c387a228d5cbaadb6e298fb4e865df (diff) |
Initialize boolean variable before calling xf86GetOptValBool
We were just lucky that it contained 0 in most cases.
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_kms.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c index b32086e1..26d42a86 100644 --- a/src/radeon_kms.c +++ b/src/radeon_kms.c @@ -1346,6 +1346,7 @@ Bool RADEONScreenInit_KMS(SCREEN_INIT_ARGS_DECL) if (radeon_sync_init(pScreen)) have_present = radeon_present_screen_init(pScreen); + value = FALSE; if (xf86GetOptValBool(info->Options, OPTION_DRI3, &value)) from = X_CONFIG; else |