commit | 30a2b462ce83c01fd0cf9491f05e091e23bd8e02 | [log] [tgz] |
---|---|---|
author | Cody Northrop <cody@lunarg.com> | Tue Feb 10 09:28:30 2015 -0700 |
committer | Mike Stroyan <mike@LunarG.com> | Thu Feb 12 10:42:15 2015 -0700 |
tree | 2ac6cf644f401cf83da7d139e58c3fe371ce549b | |
parent | 5357c39ac5f34a1ff983cc2556c8f8552ad4b50c [diff] |
intel: Initialize bool to prevent using bad format data
diff --git a/icd/intel/cmd_meta.c b/icd/intel/cmd_meta.c index 38cfdd3..ed74217 100644 --- a/icd/intel/cmd_meta.c +++ b/icd/intel/cmd_meta.c
@@ -483,7 +483,7 @@ struct intel_img *dst = intel_img(destImage); struct intel_cmd_meta meta; XGL_FORMAT raw_format; - bool raw_copy; + bool raw_copy = false; uint32_t i; if (src->type != dst->type) {