diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-11-30 19:10:27 +0100 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-11-30 19:10:39 +0100 |
commit | 208c948d28b51f45b31b777379dfe9d30c058a9d (patch) | |
tree | 33225b484d9ee0237af6cdad0481374ff26db43d | |
parent | 16d69de8bea61e61e19e58b42b29cc8633cfa5d5 (diff) |
helpers: silence an uninitialized variable warning
This may be hiding a bug.
-rw-r--r-- | helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -452,7 +452,7 @@ void drv_modify_combination(struct driver *drv, uint32_t format, struct format_m struct drv_array *drv_query_kms(struct driver *drv) { struct drv_array *kms_items; - uint64_t plane_type, use_flag; + uint64_t plane_type = 0, use_flag; uint32_t i, j, k; drmModePlanePtr plane; |