summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2017-10-27 17:44:14 +0100
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2017-10-30 17:15:50 +0000
commita1faf48636f438992b17be50dec656a0c74c5585 (patch)
tree52c003d20f86b44247ff149e105fe8364384c241
parentf9de7f55969e981f6e98a41fce04bc3a2a8280eb (diff)
intel: common: silence compiler warning
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
-rw-r--r--src/intel/common/gen_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/common/gen_decoder.c b/src/intel/common/gen_decoder.c
index 85880143f0..cd1894b85f 100644
--- a/src/intel/common/gen_decoder.c
+++ b/src/intel/common/gen_decoder.c
@@ -569,7 +569,7 @@ gen_spec_load(const struct gen_device_info *devinfo)
{
struct parser_context ctx;
void *buf;
- uint8_t *text_data;
+ uint8_t *text_data = NULL;
uint32_t text_offset = 0, text_length = 0, total_length;
uint32_t gen_10 = devinfo_to_gen(devinfo);